基于vue3 + element-plus开发的组件库,根据schema快速生成表单、表格页面
pnpm install
pnpm -w dev
pnpm -w build
pnpm -w build-only:bep-build
pnpm -w build-only:gadgets
-
bep-ui
packages/bep-ui/tsconfig.json 是打包bep-ui组件库的ts编译配置 vite.bepui.config.json 是打包bep-ui组件库的Vite配置
-
gadgets
packages/gadgets/tsconfig.json 是打包bep-ui组件库的ts编译配置 vite.gadgets.config.json 是打包biz-gadgets工具库的Vite配置
-
通用配置
tsconfig.json、tsconfig.app.json 是打包biz-gadgets和整个项目通用配置的ts编译配置
pnpm -w run docs:gadgets:dev
Run Unit Tests with Vitest
pnpm -w test:unit
Lint with ESLint
pnpm -w lint
VSCode + Volar (and disable Vetur).
TypeScript cannot handle type information for .vue
imports by default, so we replace the tsc
CLI with vue-tsc
for type checking. In editors, we need Volar to make the TypeScript language service aware of .vue
types.