top of page

Create Angular 10 App with CLI


Before creating Angular 10 app, you need the following:


Node.js

NPM package manager


1. Install Angular CLI

npm install -g @angular/cli

2. Create a new workspace and initial starter app

ng new my-starter-app

While creating, you will be asked the following features to choose:

- Would you like to add Angular routing? (Choose Y or N)

- Which stylesheet format would you like to use? (Choose CSS or SCSS or Sass or etc.,)


3. Go to created app directory

cd my-starter-app

4. Start created app

ng serve

5. Open browser and access to "http://localhost:4200/". You will see the following screen if Angular app is successfully created.

You may put --open command to open browser automatically and access to "http://localhost:4200/".


ng serve --open

Enjoy!

Comments


Single post: Blog_Single_Post_Widget
bottom of page