Vue2
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