Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Getting Started with Ionic

You're reading from   Getting Started with Ionic Get up and running with developing effective Hybrid Mobile Apps with Ionic

Arrow left icon
Product type Paperback
Published in Jan 2016
Publisher
ISBN-13 9781784390570
Length 168 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Rahat Khanna Rahat Khanna
Author Profile Icon Rahat Khanna
Rahat Khanna
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. All About Hybrid Mobile Apps and Ionic Framework FREE CHAPTER 2. Setting up the Environment the Right Way 3. Start Building Your First Ionic App 4. Navigation and Routing in an Ionic App 5. Accessorizing Your App with Ionic Components 6. Integrating App with Backend Services 7. Testing App on Real Devices 8. Working with Cordova Plugins – ngCordova 9. Future of Ionic Index

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 a basic view code in the body tag of index.html to show ion-pane and ion-header content.

The tabs template

The tabs template provides an app layout with the bottom three tabs and multiple views for each tab. It sets up the controllers and templates for...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime