How do you create new application using Angular CLI?
Experience Level: Junior
Tags: AngularAngular 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?
AngularAngular CLI JuniorUsing Anular CLI, how do you create a new feature module that will be automatically imported to your main app module?
AngularAngular CLI JuniorWhat do you need to do in order to be able to run Angular CLI on your computer?
AngularAngular CLI JuniorWhat is linting and how do you run linting for your Angular application unsing Angular CLI?
AngularAngular CLI JuniorHow do you run an Angular application on your local computer using Angular CLI?
AngularAngular CLI Junior