I encountered a similar issue and, while I can't fully explain why this works, I found that switching from double quotes ("
) to single quotes ('
) when importing the component resolved the problem for me.
Instead of:
import SectionOne from "components/MainPage/SectionOne.vue";
Do:
import SectionOne from 'components/MainPage/SectionOne.vue';
It seems like a small change, but for some reason, it worked in my case. Hopefully, this can help someone else facing the same issue!