There is nothing wrong with my folder structure or code.
However, after one time I change my folder name, Vetur keeps yelling this message to me.
I've tried the following things
but the problem still there, how can I fix it?
2022 August Update:
It could still be reproducible, but the error description may differ; the reproduction:
Example.vue.
Example.vue
into some other fileExample.vue
to example.vue
example.vue
as well.(Using vue.js v3) My solution was NOT to use the file extension '.vue':
Failed:
import X from './components/X.vue'
Succeeded:
import X from './components/X'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With