Create Your First Angular App
Angular Installation
1) Install an active or maintenance version of node.js
2) From the node.js command prompt, run: npm install -g @angular/cli
3) From windows power shell, run:
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned
Create and Run Your First Application
1) From the node.js command prompt, run ng new my-app and keep pressing enter to accept defaults
2) Navigate to the workspace folder (i.e. my-app) and run: ng serve --open
Comments
Post a Comment