【Vue warn】If this is a native custom element, make sure to exclude it from component resolution ……
runtime-core.esm-bundler.js?d2dd:40 [Vue warn]: Failed to resolve component: add-one
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
百度翻译一下:
如果这是一个本地自定义元素,请务必通过编译器从组件分辨率中排除它。文章来源:https://www.toymoban.com/news/detail-502973.html
Solving:引入单个自定义组件,不加{ }
文章来源地址https://www.toymoban.com/news/detail-502973.html
到了这里,关于【Vue warn】If this is a native custom element, make sure to exclude it from component resolution ……的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!