How to do it...

The following are the instructions to create example app:

  1. Create a new PagesAndTabs app using the tabs template and go into the PagesAndTabs folder to start Visual Studio Code, as shown:
$ ionic start PagesAndTabs tabs 
$ cd PagesAndTabs
$ code .
  1. The blank template only gives you a basic page. Open the Finder app in Mac or Windows Explorer in Windows to see the following folder structure:
You will only modify what is in the /src folder and not /www, as in Ionic 1. Everything in the /src folder will be built and the /www folder will be created automatically. We will also reserve the folder names and filenames as much as ...

Get Ionic Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.