create vue project with npm code example
Example 1: create vue project
npm install -g @vue/cli
//then
vue create hello-world
Example 2: run vue project by npm
npm run serve
npm install -g @vue/cli
//then
vue create hello-world
npm run serve