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.
- [Vuejs]-Deleted element is there after deletion until refresh – VueJS
- [Vuejs]-Is there an a way to print value of input In certain places of the a4 paper via html javascript?
Source:stackexchange.com