Sunday, 19 January 2020

Angular getting start steps


Before you begin, make sure your development environment includes Node.js® and an npm package manager

Node.js


https://nodejs.org/en/
node -v

npm package manager


install npm

angular/cli :To install the CLI using npm, open a terminal/console window and enter the following command:


npm install -g @angular/cli

First App : Create a workspace and initial application


ng new my-app

Run the applicationLaunch the server by using the CLI command ng serve, with the --open option.


cd my-app
ng serve --open

Create a workspace and initial application


ng new my-app
Share: