Vue warnIf this is a native custom element, make sure to exclude it from component resolution ……

Posted 王同学要努力

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Vue warnIf this is a native custom element, make sure to exclude it from component resolution ……相关的知识,希望对你有一定的参考价值。

【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. 

百度翻译一下:

如果这是一个本地自定义元素,请务必通过编译器从组件分辨率中排除它。

Solving:引入单个自定义组件,不加

以上是关于Vue warnIf this is a native custom element, make sure to exclude it from component resolution ……的主要内容,如果未能解决你的问题,请参考以下文章

Vue warnIf this is a native custom element, make sure to exclude it from component resolution ……

Vue报错: this.getOptions is not a function

Vue This指代

Vue ElementUI 中报错:this.$message is not a function

如何解决 Uncaught TypeError: this.filters is not a function ? (vue.js 2)

Vue项目问题-TypeError: this.getOptions is not a function