-
Notifications
You must be signed in to change notification settings - Fork 1
Angular University
Yash edited this page Jun 19, 2018
·
1 revision
Note « You can Login|Authorize with GitHub account.
-
Routing & Navigation, My Angular projects over
stackblitz
The full source for the final version of the app can be seen and downloaded from the live example / download example.
Angular CLI form NPM @angular/cli packages depending on @angular/cli
npm install -g @angular/cli
If you're using Angular CLI 1.0.0-beta.28 or less, you need to uninstall angular-cli package. It should be done due to changing of package's name and scope from angular-cli to @angular/cli:
npm uninstall -g angular-cli
npm uninstall --save-dev angular-cli
To update Angular CLI to a new version, you must update both the global package and your project's local package.
- Global package:
npm uninstall -g @angular/cli
npm cache verify
# if npm version is < 5 then use `npm cache clean`
npm install -g @angular/cli@latest
- Local project package:
rm -rf node_modules dist # use rmdir /S/Q node_modules dist in Windows Command Prompt; use rm -r -fo node_modules,dist in Windows PowerShell
npm install --save-dev @angular/cli@latest
npm install
Sample Projects over GitHub « angular2-quickstart
Sample of how easy and fast to start hacking with Angular2 and ng2-bootstrap.