Closed Ena-Heleneto closed 1 year ago
需要安装tabler图标
我安装了@iconify/json依赖 但是控制台还是报错
[vite]: Rollup failed to resolve import "ano-ui/components/ATabBar/ATabBar.vue" from "D:/WorkSpace/Private-Abernethy/HW_maintenance_app/src/pages/index.vue?vue&type=script&setup=true&lang.ts".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
`build.rollupOptions.external`
之后我在vite config 里面配置了一下
build: { rollupOptions: { external: [/ano-ui/] } },
控制台不报错了,但是项目中无法使用组件
Ano UI 组件版本是最新的吗?另外推荐使用 vitesse-uni-app 模版。
I understand,thank you
系统 : 微信开发工具