最終更新:2017-09-18 (月) 08:26:09 (2413d)  

ionic start
Top / ionic start

Create a new project

$ ionic start [<name>] [<template>] [options]

  • ionic start test tabs?
  • テンプレートを省略すると選択させられる

ionic create --list

  • テンプレートの一覧
  • ionic-angular
    tabs ............... ionic-angular A starting project with a simple tabbed interface
    blank .............. ionic-angular A blank starter project
    sidemenu ........... ionic-angular A starting project with a side menu with navigation in the content area
    super .............. ionic-angular A starting project complete with pre-built pages, providers and best practices for Ionic development.
    conference ......... ionic-angular A project that demonstrates a realworld application
    tutorial ........... ionic-angular A tutorial based project that goes along with the Ionic documentation
    aws ................ ionic-angular AWS Mobile Hub Starter
  • ionic1?
    tabs ............... ionic1 A starting project for Ionic using a simple tabbed interface
    blank .............. ionic1 A blank starter project for Ionic
    sidemenu ........... ionic1 A starting project for Ionic using a side menu with navigation in the content area
    maps ............... ionic1 An Ionic starter project using Google Maps and a side menu
  • For v1 projects, use the --type ionic1 flag.

help

  •   ionic start - Create a new project
    
        This command creates a working Ionic app. It installs dependencies for you and sets up your project.
    
        ionic start will create an app from a template. You can list all templates with the --list option.
    
      Usage:
    
        $ ionic start [<name>] [<template>] [options]
    
      Inputs:
    
        name ..................... The name of your project directory
        template ................. The starter template to use (e.g. blank, tabs; use --list to see all)
    
      Options:
    
        --type ................... Type of project to start (e.g. ionic-angular, ionic1) (default: ionic-angular)
        --app-name, -n ........... Human-readable name (use quotes around the name)
        --list, -l ............... List starter templates available
        --no-deps ................ Do not install npm/yarn dependencies
        --no-git ................. Do not initialize a git repo
        --no-link ................ Do not ask to connect the app with the Ionic Dashboard
    
      Examples:
    
        $ ionic start
        $ ionic start --list
        $ ionic start myApp blank
        $ ionic start myApp blank --type=ionic1

メモ

  • Sorry! The --v1 and --v2 flags have been removed.

メモ