INFO

Running an Angular project on minimal

When we pick the Angular CLI to create a new project we get a whole new shiny directory with all the files that can be described as a well-designed project. Still, if you are just starting to work on Angular you may be confused with the number of files in the directory.

More advanced Angular developers than myself agree on the fact that if you are a newbie you can easily skip the testing and crate a bare Angular project.

To do that you just need to use the following command (Angular 7)

ng new --minimal=true --skipTests=true your-app-name

instead of the

ng new your-app-name

Then you’ll end up with a simpler structure of files in your new project.

a full project
a test-free project
*if the command doesn’t fit you might be using a different Angular version.

You may also like...