How do you create new application using Angular CLI?
Experience Level:
Junior
Tags:
Angular
Angular CLI
Answer
Run the following command from the command line:
ng new
This command create a new Angular application in the current directory.
Enter the settings for the new project
- Name of the project
- Type Y so that the Angular routing will be added
- Select SCSS (or other Stylesheet format if you don't prefer SCSS)
Related Angular CLI job interview questions
-
Using Anular CLI, how do you create a new component that will be automatically imported to your main app module?
Angular Angular CLI Junior -
Using Anular CLI, how do you create a new feature module that will be automatically imported to your main app module?
Angular Angular CLI Junior -
What do you need to do in order to be able to run Angular CLI on your computer?
Angular Angular CLI Junior -
What is linting and how do you run linting for your Angular application unsing Angular CLI?
Angular Angular CLI Junior -
How do you run an Angular application on your local computer using Angular CLI?
Angular Angular CLI Junior