how to create a vue js 2 project code example Example: create vue project npm install -g @vue/cli //then vue create hello-world