[Vuejs]-How to successfully deploy my Vue app? (CLI3)

0👍

If you are using vue-cli, to create dist folder you need to run npm run build.
Also , open your package.json and check your scripts objects. It will have various commands to run and you can chose the correct script to run.

"scripts": {
 "serve": "vue-cli-service serve",
 "build": "vue-cli-service build",
 "lint": "vue-cli-service lint"
},

For vue cli3, mostly you need to run npm run build.

Leave a comment