Starting a New Ionic App

To start a new app, open your terminal/command prompt and run:

$ ionic start MyIonicProject tutorial
  • start:will tell the CLI create a new app.
  • MyIonicProject:will be the directory name and the app name from your project.
  • tutorial:will be the starter _template _for your project.

Along with the tutorial template, Ionic also provide the follow official templates:

  • tabs:a simple 3 tab layout
  • sidemenu:a layout with a swipable menu on the side
  • blank:a bare starter with a single page
  • super:starter project with over 14 ready to use page designs
  • tutorial:a guided starter project

Example:

$ ionic start MyIonicProject sidemenu
$ ionic start MyIonicProject super

Viewing the app in a browser

$ cd MyIonicProject/

$ ionic serve


results matching ""

    No results matching ""