O'Reilly logo

Getting Started with Ionic by Rahat Khanna

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Ionic starter template

In the Ionic CLI, you can start a new project using a specific template. There are predefined templates available in the Ionic CLI toolset. They all provide a starting point for developers and also act as a skeleton for your new app. We have already seen the command to start a new project with a specific template earlier on in this chapter. If we want to choose the tabs template, then the command would look like the following:

$ ionic start TabsDemo tabs

We will be discussing the important files in each of the templates.

The blank template

It contains the bare minimum code for an Ionic App. It injects Ionic and Angular dependencies into your index.html and creates separate folders for CSS, js, and img. It also provides ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required