December 2017
Beginner
372 pages
10h 32m
English
Now, let's create our app again using the CLI with the flags which we discussed earlier.
We will create our application with routing enabled, a component selector as trello, and the style defined with sass rather than CSS. The following is the command which we will use:
ng new trello-app --skip-git true --style sass --prefix trello --routing true --dry-run
Here, we used dry-run so that we can see what Angular CLI will generate rather than creating it on the HDD. Also, note that because we have used the dry-run flag, the CLI also does not run npm install. The following is the output of the command:

As we see in the first ...
Read now
Unlock full access