directory

1. Download the node. Js

2. Install the Node

3. Download CNPM can run faster (Taobao mirror)

4. Install the vue

5. Initialize a project

6. Install dependencies between files

7. Start

9. Check the

Packaging project

Release strategy



1. Download the node. Js

  • The implementation of vUE depends on node’s NPM management tool
  • nodejs.cn

 

2. Install the Node

  • Test node -v in CMD

3. Download CNPM can run faster (Taobao mirror)

  • $ npm install -g cnpm –registry=registry.npm.taobao.org

4. Install the vue

  • $ cnpm install –global vue-cli

After the installation, enter vUE test and it will be ok if something comes out

 

5. Initialize a project

  • $ vue init webpack my-project

 

It’s ok to appear below all enter

6. Install dependencies between files

  • $ cnpm install

7. Start

  • $ cnpm run dev

9. Check the

Enter localhost:8080 and press Enter. The following screen is displayed

 

 

Packaging project

  • $ cnpm run build 

So when you pack it up, you have a file directory for Dist and the result files are all in there, and then you can put index in your browser

 

Release strategy

  • Publish an Nginx service to static or port mapping

 

 

ok

 

 

 

Continuously updated