Skip to content

pearpages/ionic-complete-example-app

Repository files navigation

ionic-complete-example-app

Dependencies

Check the bower.json file to see them

  • lodash

In development use chrome.sh script to load chrome without CORS

./chrome.sh

Cordova

  • JavaScript API that "wraps" native APIs
  • Native Mobile Apss using HTML/JS/CSS
  • Re-use existing "web" skills
  • Re-use existing web frameworks (angularJS for example)
  • Big Community

DataSource

elite-schedule.net

SiteMap

/ My Teams
/ Leagues / Teams / Team Detail / Game
/ Leagues / Standings
/ Leagues / Locations / Location Schedule
/ Leagues / Locations / Location Mapping
/ Leagues / Rules

Ionic Overview

What is Ionic?

  • Open source, mobile-optimized ibrary for HTML/JS/CSS
  • Built on top of AngularJS
  • Built for native Cordova apps

Ionic Command Line Features

#starts a new ionic project
ionic start
#Starts a local development server
ionic serve
#configure platform targets
ionic platform add ios
#locally build app for a platform
ionic build
#emulate app in simulator
ionic emulate
#run app on device
ionic run

Starting a New Project

  • We install node to get npm
  • And install cordova
#ionic start [appName] [template]
ionic start myApp blank

Run Your App

We can run the app in different ways:

  • Local Browser: $ionic serve (localhost:8100)
  • Emulator: $ionic emulate
  • Device: $ionic run

First remember to install the SDK appropiate.

ionic add platform ios
ionic build ios
ionic emulate ios
# or
# which builds and deploys to the device
ionic runn ios

Ionic Starter Templates

  • blank
  • tabs
  • side menu
  • maps

About

Example App for templating

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages