April 2017
Beginner to intermediate
378 pages
7h 57m
English
The all-new Ionic CLI for v2 is now power packed with sub-generators, which can be helpful for scaffolding pages, components, providers, and so on. To view the list of available sub-generators, you can run the following:
ionic generate --list
You will see the following:

Now we are going to use the preceding sub generator and generate a couple of pages inside the example8 project. Run the following:
ionic generate page about
Also run the following:
ionic generate page contact
Inside the app/pages folder, you should see two new folders, the about and contact folders, which have their own html, ts, and scss files, ...
Read now
Unlock full access