Start Building Apps in Ionic
Starting an Ionic App
Starting an Ionic App
$ ionic start myapp [template]
Starter templates can either come from a named template, a Github repo, a Codepen, or a local directory. A starter template is what becomes the www
directory within the Cordova project.
Named template starters
Github Repo starters
- Any Github repo url, ex: https://github.com/driftyco/ionic-starter-tabs
- Named templates are simply aliases to Ionic starter repos
Codepen URL starters
-
Any Codepen url, ex: https://codepen.io/ionic/pen/odqCz
Local directory starters:
- Relative or absolute path to a local directory
Command-line flags/options:
--appname, -a ....... Human readable name for the app (Use quotes around the name)
--id, -i ............ Package name set in the <widget id> config ex: com.mycompany.myapp
--no-cordova, -w .... Do not create an app targeted for Cordova