uniapp中第一次构建easycom 没有生效,然后在pages.json中空格保存后,easycom就生效了,谁能给看看这个问题啊?
第一次执行
npm run dev:h5
构建时: 页面报错如下
[Vue warn]: Failed to resolve component: uni-collapse-item
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
uni-h5.es.js:15495 [Vue warn]: Failed to resolve component: uni-collapse
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
此时在pages.json中进行编辑,随便编辑,例如打个空格后保存。此时页面刷新正常。
环境是最新环境uniapp + vue3 + vite
0 个回复