Difference between revisions of "Vue2"

From rbachwiki
Jump to navigation Jump to search
(Created page with "===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...")
 
 
Line 15: Line 15:
''' Switching Project for Mac to PC '''
''' Switching Project for Mac to PC '''
  npm rebuild node-sass --force
  npm rebuild node-sass --force
==[[#top|Back To Top]]-[[Main_Page| Home]] - [[VueJs|Category]]==

Latest revision as of 13:41, 18 September 2018

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