The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

welkie (26) [Avatar] Offline
#1
There is the text:

"Go back to the terminal and run the following:
ng generate component components/summary
The CLI will generate a new component inside the src/app/components/summary directory.
We had to create the src/app/components directory first, because the CLI doesn’t make new
folders for you automatically if they’re missing."

At this time, the Angular CLI does create the folders for you, and it looks like the command in the book was updated to reflect that (I'm guessing it used to be like "mkdir <something>; <generate command>" or something like that), but the text below describes having to create a directory first, stating that the Angular CLI doesn't do it for you.