面向 Vue 3 的桌面端与移动端组件库,支持按需引入和 tree-shaking。
pnpm add @deot/vc vueimport { Button } from '@deot/vc';包内附带与版本一致的 LLM 文档 node_modules/@deot/vc/docs/llms.txt,在线地址与各工具的配置见 AI 编码助手。
@deot/vc- 聚合入口,支持tree-shaking;@deot/vc/full、/desktop、/mobile为全量注册入口。@deot/vc-components- 桌面端与移动端组件。@deot/vc-hooks- Vue 组合式工具。@deot/vc-locale- 内置语言与语言类型。@deot/vc-shared- 包间共享能力。
This is a monorepo managed with pnpm.
- Setup
$ npm run init- Add dependencies or new packages
$ npm run add- Link
$ npm run link- Test
$ npm run test
# Or pass arguments directly
$ npm run test -- --package-name '**' --watch- Development
$ npm run dev
# Or pass arguments directly
$ npm run dev -- --package-name '**'- Documentation
$ npm run docs:dev- Build
$ npm run build- Lint
$ npm run lint- Publish
$ npm run pub