Closed
Description
Trying to use : https://www.webcomponents.org/element/@alenaksu/json-viewer
but getting the following warning:
[vue warn]: Failed to resolve component: json-viewer
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
at <Anonymous>
at <AsyncComponentWrapper>
at <Anonymous>
at <AsyncComponentWrapper>
at <App>
There is no way to pass the compiler option?
https://vuejs.org/api/application.html#app-config-compileroptions
app.config.compilerOptions.isCustomElement = (tag) => {
if(tag == 'json-viewer') return true
return false
}