Generate Module using Angular CLI

Open the Terminal in Visual Studio Code, select OctopusCodes.com folder and go to your project directory.

    Click Image to Zoom

    Type the command “ng generate module admin –routing” on the command prompt to generate AdminModule with routing.

    Click Image to Zoom

    Angular CLI will generate admin folder and 2 files: admin-routing.module.ts and admin.module.ts in the app folder.

    Click Image to Zoom