Replies: 1 comment
-
考虑可能是 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
我使用 pnpm 创建了一个 monorepo,其中有一个工程是 vite5+vue3+ts5 创建的页面项目,我在这个页面项目中添加了 naive-ui 依赖,并在此项目下的 tsconfig.json 中,按照官网的教程添加了
"types": "naive-ui/volar"
,且 Volar 插件已处于 take-over 模式。虽然按需导入 naive-ui 组件可以正常工作,但是不具备类型提示使得开发还是比较难受的,来问问有无遇到一样问题的朋友
Beta Was this translation helpful? Give feedback.
All reactions