npm run build vs vue-cli-service build code example Example: serve a vue project cd my-app npm run serve