Difference between revisions of "Vue2"
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...") |
(No difference)
|
Revision as of 13:39, 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