建议尽量使用我们的easycom机制( https://uniapp.dcloud.net.cn/collocation/pages?id=easycom )来使用组件,不能保证三方插件的有效性 easycom 主要问题是会丢失组件类型以及相关的代码提示 👍 1 Collaborator fxy060608 commented Jan 12, 2022 已修复上述两个问题,更新cli:3.0.0-alpha-3030020211209001 建议尽...
在文件 src/cord/declaration.ts 中已经直接改成了 declare module 'vue',没有判断@uni-helper/vite-plugin-uni-components该插件在 0.0.9 版本还没有修改,但是有人已经提出了PR fix: vue version check,等待作者合并并发布。简单解决版本: 加载依赖后,找到代码文件@uni-helper/vite-plugin-uni-components/dist/...