Vue CLI

Getting started with Vue CLI

Installation

npm install -g @vue/cli

Start project

vue create [PROJECT_NAME]

Compiles and hot-reloads for development

$ npm run serve

 INFO  Starting development server...
98% after emitting CopyPlugin

 DONE  Compiled successfully in 3520ms                                                               9:50:57 AM


  App running at:
  - Local:   http://localhost:8080/
  - Network: http://192.168.0.5:8080/

  Note that the development build is not optimized.
  To create a production build, run npm run build.

Install axios

Compiles and minifies for production

Lints and fixes files

+

Boilerplate tasks when creating a Component

Last updated