Skip to main content

Posts

Showing posts with the label Ionic 3 CLI and Angular 4 Commands

Generating New Pages in Angular 4 Apps using Ionic 3 CLI!

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/ The entire generated files are looks like - -          html -          ts -          scss Stayed Informed - Angular 4 Documents and Ionic 3 CLI Angular 4 See the below screen for Login, Register and Users - For example , you can see the above ge...

Ionic 3 CLI and Angular 4 Commands

List of Useful Ionic Commands The commands and its description 1.       start -  This  command is used to c reate a new project 2.       generate -  This  command is used to g enerate pipes, components, pages, directives, providers and tabs 3.       serve - This  command is used to s tart a local dev server for app dev/testing 4.       build  - This  command is used to  Build web assets and prepare your app for any platform targets 5.       docs  - This  command is used to  Open the Ionic documentation website 6.       info  - This  command is used to  Print system/environment info 7.       link - This  command is used to  Connect your local app to Ionic 8.       login - This  comma...