December 2017
Beginner
372 pages
10h 32m
English
The Angular CLI provides the following command to generate a class:
ng generate class board
This command will create the board.ts file in the parent folder, which we may not want in our case because our board class may represent a model or a business logic class to be placed in a specific folder. So, to be able to generate a class in a specific folder, we need to create a folder, navigate to said folder on our command line, and then run the command.
Read now
Unlock full access