[Vuejs]-Best practice starting a project on Vue-Cli

0👍

@Adam Orlov’s comment about using old vue-cli is absolutely correct. You’re probably using old vue cli in your terminal. Webstorm is possibly generating the project from the latest version.

In addition to that, npm run dev and npm run serve are just npm scripts defined in package.json. You can change the command to any name you like. The best practice generally is to NOT alter the name set by cli tools and just use them directly.

Leave a comment