Creating a Vue 2 application with Vue CLI

Posted on December 9, 2019

For Windows:

Install npm with node.js from https://nodejs.org

Using command line, install Vue CLI

nmp install --global -vue-cli

 

Create a new project using the webpack template

vue init webpack my-vue-app

 

After initiating the app we install it and run it

cd my-vue-app
nmp install
nmp run dev

When server is ready, the browser will open to http://localhost:8080