Vue2

From rbachwiki
Revision as of 13:41, 18 September 2018 by Bacchas (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Setting up Vue CLI

Node has to be installed first

sudo npm install -g vue-cli

Template Compilation webpack simple this will install webpack simple and create the folder `dirForProject` For our project you can use defaults for installations

vue init webpack-simple dirForProject

Other Commands

cd into the folder created with the npm install above
npm install // this will init the folder and download necessary dependencies
npm run dev // this will start the dev server

Switching Project for Mac to PC

npm rebuild node-sass --force

Back To Top- Home - Category