zoukankan      html  css  js  c++  java
  • Ionic3 一些命令

    ionic start --help   

    E:Projectsionic>ionic start --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.

    If you want to create an Ionic/Cordova app, use the --cordova option.

    Usage:

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

    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
    --skip-deps .............. Skip npm/yarn package installation of dependencies
    --cordova ................ Include Cordova integration
    --no-git ................. Do not initialize a git repo
    --skip-link .............. Do not link app to an Ionic Account

    Examples:

    $ ionic start
    $ ionic start --list
    $ ionic start myApp blank
    $ ionic start myApp tabs --cordova
    $ ionic start myApp blank --type=ionic1

    创建App时,如果想要快速创建App,可以跳过安装相关依赖包:ionic start myTabs tabs --skip-deps

    最后:进入App所在目录,然后使用 npm install (cnpm install 淘宝镜像)

  • 相关阅读:
    《我曾》火了:人这辈子,最怕突然听懂这首歌
    SpringMVC的运行流程
    Directive 自定义指令
    Vue 过滤器
    MVC 和 MVVM的区别
    vue指令
    async
    Generator
    单词搜索
    Promise
  • 原文地址:https://www.cnblogs.com/daryl/p/7090888.html
Copyright © 2011-2022 走看看