How to build a VUE project

发布时间 2023-08-02 22:47:48作者: PostMan_Zc

1.Download node.js in your computer

  • The download address of Node.js :https://nodejs.org/zh-cn/download/
    image
  • Then run the .exe file and click the next button.
  • Input "path" in your terminal and check if you configure the Node.js
    image

2.Your can download nvm to manage your nodejs

Nvm is used to manage the nodejs in different version.We can change the different nodejs more easily.

3.Install webpack

npm install webpack -g

4.Install vue-cli

npm install @vue/cli –g  
//You can decide to install a specific version Cli: npm install -g @vue/cli@3.12.1