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 淘宝镜像)

  • 相关阅读:
    转载:QTableView中嵌入可视化组件
    pyqt声音输入
    pyqt二进制和图片的转换
    LeetCode(92):反转链表 II
    LeetCode(91):解码方法
    LeetCode(90):子集 II
    LeetCode(89):格雷编码
    LeetCode(88):合并两个有序数组
    LeetCode(87):扰乱字符串
    LeetCode(86):分隔链表
  • 原文地址:https://www.cnblogs.com/daryl/p/7090888.html
Copyright © 2011-2022 走看看