vue-cli usage steps

1. Install vue-cli: cnpm install vue-cli -g

2. Initialization: vue init webpack-simple [project name] or vue init webpack [project name]

3. Install dependencies: cd [project name] and then cnpm install

4. Run the project: npm run dev

5. Packaging: npm run build

6. Others:  

  Install router: cnpm install vue-router -s

  Install axios: cnpm install axios -s

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324642872&siteId=291194637