Have you failed a job interview?
Send us your job interview questions and get correct answers.

How do you build your Angular application using Angular CLI for use on a local or development environment?

Experience Level: Junior
Tags: AngularAngular CLI

Answer

To build an Angular application for a local or development environment, run the following command from the command line:

ng build

By not using the parameter --prod you are telling Angular CLI that it should not do any optimizations. These take some time to process so skipping them will make your workflow faster.

Comments

No Comments Yet.
Be the first to tell us what you think.
Angular CLI for beginners
Angular CLI for beginners

Are you learning Angular CLI ? Try our test we designed to help you progress faster.

Test yourself