[Vue warn]: Failed to resolve component: AddCurrency
Version
3.2.20
Reproduction link
Steps to reproduce
Hi, I got a worning in console. As you as, I'm opening an issue.
[Vue warn]: Failed to resolve component: AddCurrency
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
at
What is expected?
I don't know, you wanted me to open an issue
What is actually happening?
some HTML elements are not loading
in <script>
import { AddCurrency } from './component/AddCurrency.vue'
-> import AddCurrency from './views/AddCurrency.vue'
, because you create it in 'views/AddCurrency.vue' and you should use import AddCurrency ...
instead of import { AddCurrency } ...
and the AddCurrency
component can work.
it seems that the vue-router
and vuex
can't take effect.
i take a try like element-plus.js
in Element Plus Playground and i failure.
emmm, i also don't know how to add vue-router
and vuex
in sfc playground...
if you want to add vue-router
and vuex
, i think you can use codesandbox.
Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server or StackOverflow.