Skip to content

jetlinks-v2/low-code-ui

Repository files navigation

jetlinks-lowcode-engine

.env.development

# 代理标识

VITE_APP_BASE_API = /api

# 代理配置

VITE_PROXY = [["/api","http://120.77.179.54:8844"]]

#  token标识
VITE_TOKEN_KEY = X-Access-Token

运行

# 安装依赖
pnpm install

# 运行
pnpm dev

依赖包

@jetlinks/vite

vite相关配置

@jetlinks/tsconfig

tsconfig相关配置

@jetlinks/components

通用业务组件

@jetlinks-web/constants

常量,常用的有 TOKEN_KEYBASE_API

@jetlinks-web/core

基本核心库,包含 axios,websocket

@jetlinks-web/hooks

包含常用的 useRequest useRouterParams useWebSocket

@jetlinks-web/router

通用路由配置

@jetlinks-web/utils

通用工具函数

规范

  • 尽量使用useRequest来调用api下的接口
  • 正则表达式使用@jetlinks-web/utils下的 regular
  • 先看packages和components中有哪些公用函数或组件,避免重复造轮子
  • 需要熟悉vueuse
  • 代码书写要符合规范,否则pr不予合并

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published