ionic start app 初步来

  1. version
yangs-mbp:~ yangliu$ ionic -v

   _             _
  (_) ___  _ __ (_) ___
  | |/ _ \| '_ \| |/ __|
  | | (_) | | | | | (__
  |_|\___/|_| |_|_|\___|  CLI PRO 4.1.2


  Usage:

    $ ionic  [] [--help] [--verbose] [--quiet] [--no-interactive] [--no-color] [--confirm] [options]

  Global Commands:

    config  ...... Manage CLI and project config values (subcommands: get, set, unset)
    docs ..................... Open the Ionic documentation website
    info ..................... Print project, system, and environment information
    login .................... Login to Ionic Pro
    logout ................... Logout of Ionic Pro
    signup ................... Create an account for Ionic Pro
    ssh  ......... Commands for configuring SSH keys (subcommands: add, delete, generate, list, setup, use)
    start .................... Create a new project

  Project Commands:

    You are not in a project directory.
  1. update ionic
npm update -g cordova ionic
  1. 用模板
ionic start myApp tabs

当前目录新建myApp文件夹,用tabs模板

  1. dependency
    如果安装出现问题,则删除node_modules文件夹重新来
npm install
  1. start server
ionic serve

你可能感兴趣的:(ionic start app 初步来)