ant-design-vue
ant-design-vue copied to clipboard
按需引入 theme、TimePicker 时,编译报错文件不存在
trafficstars
- [ ] I have searched the issues of this repository and believe that this is not a duplicate.
Version
undefined
Environment
[email protected] [email protected] [email protected] [email protected]
Reproduction link
Steps to reproduce
1、import { TimePicker } from 'ant-design-vue' 并使用 2、编译报错 [vite] Internal server error: Failed to resolve import ".../node_modules/.pnpm/[email protected][email protected]/node_modules/ant-design-vue/es/theme/style/index" from "src/App.tsx". Does the file exist?
What is expected?
不应该编译报错
What is actually happening?
编译报错
已经解决,从lib中引用就不会报错了
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days