[Vuejs]-Webpack compile development version of Vue when watching, compile production when build

0👍

I’d strongly suggest using vue cli. vue-cli-service build compiles for production and vue-cli-service serve compiles for development with hot module replacement.

And if you are looking for more comfort, it has also a user interface. You can access vue ui and build or serve with a few clicks.

Leave a comment