[Vuejs]-Disabling hot reload for vue.js website with raw-loader for production-like environments

0👍

So, it seems the best I could do was to run yarn build and then serve the dist folder on nginx or Apache or nodejs static HTML server.

Still curious, why vue.js (or webpack or whatever) doesn’t behave the same way when I run the website through vue-cli with mode production.

It’s unintuitive; I expected mode production to work exactly the same as after building the site and hosting on any other server.

Leave a comment