create new project with vue 2 or 3 code example
Example 1: create vue project
npm install -g @vue/cli
//then
vue create hello-world
Example 2: create a vue project from scratch with 2.9.6
npm install vue-cli -g
npm install -g @vue/cli
//then
vue create hello-world
npm install vue-cli -g