This document provides instructions for building a to-do list app with Ionic 2. It begins by explaining how to install Ionic and other necessary tools. It then outlines the basic template and components needed for a to-do list, including an empty state, add button, create form, and native storage. The document concludes by explaining how to display todo items, add options, emulate on devices, and includes additional resources.
Report
Share
Report
Share
1 of 17
More Related Content
Gdg ionic 2
1. Before we start…
Save time by installing these first
Npm (http://tinyurl.com/nodejs-en-
download)
Then open command line/bash
Today’s source code:
http://tinyurl.com/gdg-ionic2
Code editor: https://code.visualstudio.com
$ npm install -g ionic
$ git fetch --all
Getting Started With Ionic 2
3. Lim Shang Yi
• Full stack Developer @
• Angular 1/Angular 2
• Ionic
4. What is Ionic
• Cross platform mobile development
framework
• Angular 2 powered
• Write once, deploy on different devices
• Runs on browser and devices
• Debug on browser
11. Todo list empty state
• Add an message to inform users how to
get started.
• Add a floating action button (FAB) to
compose a new to-do
• Clicking the compose button will bring
you to the create todo page
12. Create To-do Page
• Add text boxes for details of to-do
• Add button to save the data
• Add some color to the to do
• Data saved to native storage
13. Storing into Native Storage
• We will need to store the data into a persistent storage
• NativeStorage, SecureStorage, SQLite
• Requires cordova
• Cordova plugins can be run in the browser with
$ ionic plugin add cordova-plugin-nativestorage
$ ionic run browser