Creating a New Angular Project with SASS and Routing | Task

Ole Ersoy
Mar - 16  -  1 min

Scenario

We want to create an Angular project p using the CLI without test generation and with SASS and Routing and we want to skip the command line prompts by using flags for the options.

Approach

ng new p --routing --style=scss --defaults --skipTests=true

Bonus

Add Angular Material with defaults, the Firefly Semantics material base module, and aws-amplify as well:

ng new p --defaults --style=scss --routing  --skipTests=true && cd p && ng add @angular/material --defaults && npm i @fireflysemantics/material-base-module aws-amplify