[Vuejs]-Vue-router doesn't load / display components?

0👍

So I had to run

vue init webpack

and then started moving the code from the project one folder by another, at the very end everything worked just fine without any code modifications

As I was copying the folders one by one I was checking if code compiles against simple HelloWorld component that vue init has generated, then started to import configs, stores etc and then finally everything worked with non-async import of the component in the router config.

Before I have started a new project by cloning the folder (cp -R) and maybe that was an issue.

Leave a comment