摘要:
vue3 项目中,使用 vue 常用的 api 比如 vuex 的 api 或者 ref,reactive 等,以及导入多个自定义组件、UI 组件库的组件,都需要反复的手动导入,注册,很是影响开发体验,这里推荐 antfu 开源的两个插件,上链接: 自动导入组件 https://github.com 阅读全文
posted @ 2023-05-24 12:16
蓓蕾心晴
阅读(515)
评论(0)
推荐(0)
摘要:
unplugin-auto-import的配置和eslint报错解决先上官网:unplugin-auto-import unplugin-auto-import 解决了vue3-hook、vue-router、useVue等多个插件的自动导入,也支持自定义插件的自动导入,是一个功能强大的typesc 阅读全文
posted @ 2023-05-24 12:08
蓓蕾心晴
阅读(1167)
评论(0)
推荐(0)
摘要:
代码: // 自动导入插件 const autpImport = require('unplugin-auto-import/webpack')(...autoImportConfig) 报错 TypeError: Found non-callable @@iterator 原因: 使用 ... 扩 阅读全文
posted @ 2023-05-24 12:02
蓓蕾心晴
阅读(295)
评论(0)
推荐(0)

浙公网安备 33010602011771号