GGXXMM / vue3-ui

基于Vue3的组件库(仿element-plus)
16 stars 4 forks source link

pnpm build运行报错 #4

Open lebulangjim opened 6 months ago

lebulangjim commented 6 months ago

docs/.vitepress/theme/index.ts:1:19 - error TS2307: Cannot find module 'vitepress/theme' or its corresponding type declarations.

1 import Theme from 'vitepress/theme'


packages/components/tree/src/tree.tsx:9:27 - error TS6133: 'slots' is declared but its value is never read.

9   setup(props: TreeProps, { slots }) {

Found 2 errors in 2 files.

Errors Files 1 docs/.vitepress/theme/index.ts:1 1 packages/components/tree/src/tree.tsx:9  ELIFECYCLE  Command failed with exit code 2.

Capyhw commented 2 months ago

ts报错,可以禁用tsc