Open the Terminal in Visual Studio Code, select OctopusCodes.com folder and go to your project directory.
Type the command “ng generate component product” on the command prompt to generate ProductComponent.
Angular CLI will generate product folder in the app folder with 4 files:
- product.component.css
- product.component.html
- product.component.spec.ts
- product.component.ts