solve component: MdEditor If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
时间: 2023-10-26 17:29:54 浏览: 43
The error message you mentioned is related to Vue.js and its compiler options. It seems that you are using a custom element called "MdEditor", which Vue.js does not recognize by default.
To fix this issue, you can add a configuration option in your Vue.js project's `vue.config.js` file to exclude the custom element from component resolution.
Here is an example of how you can configure this option:
```javascript
// vue.config.js
module.exports = {
// ...
compilerOptions: {
isCustomElement: tag => tag.startsWith('md-')
}
}
```
In the above configuration, we are telling Vue.js to exclude any element that starts with the prefix "md-" from component resolution. You can replace this prefix with the actual prefix used by your custom element.
I hope this helps! Let me know if you have any further questions.