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://10.200.1.11:23101/article/api/json?id=327058904&siteId=291194637