July 2018
Intermediate to advanced
420 pages
8h 46m
English
Now, it's time to create another module and component; let's look at how to do it:
Still in your Terminal window, in ./Client/src/app, type the following command:
ng generate module pages/bikes --routing
As we saw previously, the preceding command will generate three new files:
Now, we just need to generate the bike component.
Type the following command:
ng g c pages/bikes
At the end of the previous command, you will see the following structure in the pages folder:

Read now
Unlock full access