Generating New Pages in Angular 4 Apps using Ionic 3 CLI and Manually

Let’s start adding new pages. The ionic generate command is used to create new structure and files automatically. We can also create new structure and files manually as per our requirements.

Syntax - ionic generate [<type>] [<name>]

Generated Command -

The given name is normalized into an appropriate naming convention. The given name is normalized into an appropriate naming convention. Ionic generate page login creates a page by the name of login-page and the directory- src/pages/login/