[Vue warn]: Failed to resolve component: xxx
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
HB版本3.4.18,组件是原生组件,使用正常,但是控制台一直打印这个,执行一次组件就打印一次。
[Vue warn]: Failed to resolve component: xxx
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
HB版本3.4.18,组件是原生组件,使用正常,但是控制台一直打印这个,执行一次组件就打印一次。
风之源 (作者)
我在main.js配置了
app.config.compilerOptions.isCustomElement = tag => tag.startsWith('sn-svg')
2022-07-08 12:06
风之源 (作者)
这个文档里说的根本不起作用,app.config里配置根本不生效
2022-07-08 12:35
DCloud_UNI_WZF
回复 风之源: 项目创建方式 HBuilderX 还是 cli,vue 版本多少,可以提供个可复现demo吗
2022-07-08 16:33
风之源 (作者)
回复 DCloud_UNI_WZF:我的另一个帖子里写了详细的说明
2022-07-08 17:52