-
Notifications
You must be signed in to change notification settings - Fork 0
Angular CLI
Hong, Jian-Ching edited this page Oct 31, 2016
·
5 revisions
##Angular-CLI
https://github.com/angular/angular-cli
##Prerequisites Node.js 4 or higher(https://nodejs.org)
NPM 3 or higher
##Usage with yarn
ng new PROJECT_NAME --skip-npm
cd PROJECT_NAME
ng serve
Ref:
Option for ng new to use yarn instead of npm install
##Deploying the app via GitHub Pages
ng github-pages:deploy --message "Optional commit message"
##Updating angular-cli use yarn
yarn remove angular-cli
yarn cache clean
yarn global add angular-cli
If you type ng command have problem in windows, check this
Ref: