vue.jsnpmcompiler-errors

How do I check for vue js compilation errors before trying to serve it?


I've just lost a frustrating amount of time trying to work out why npm run serve was hanging when attempting to run my vue js app. Eventually, I tracked it down to one error in a vue file I made, it took me a long time to work this out since the issue manifests itself in a way that the console window just hangs.

Is there some other way developers can get a more descriptive error list from vue js prior to attempting to run/build?


Solution

  • Personally, I find the most useful and essential tools to be (I use VS Code as "IDE")

    Hope this helps!