zoukankan      html  css  js  c++  java
  • ionicframework(二)

                                                     Start building with Ionic!

    Follow these quick steps and start building high quality mobile apps in minutes. For a more indepth overview, watch our Crash Course video, which covers everything else you'd want to know.

    Install Ionic

    First, install Node.js. Then, install the latest Cordova and Ionic command-line tools. Follow the Android and iOS platform guides to install required platform dependencies. Windows users might want to watch thisinstallation video (or try Vagrant below).

    We also have a Vagrant package for an all-in-one setup (experimental).

    Note: iOS development requires Mac OS X.

    $ npm install -g cordova ionic

    Start a project

    Create an Ionic project using one of our ready-made app templates, or a blank one to start fresh.

    $ ionic start myApp tabs
    $ ionic start myApp blank
    $ ionic start myApp sidemenu

    Run it

    Ionic apps are based on Cordova, so we can use the Cordova utilities to build, test, and deploy our apps, but we provide simple ways to do the same with the ionic utility (substitute ios for android to build for Android):

    $ cd myApp
    $ ionic platform add ios
    $ ionic build ios
    $ ionic emulate ios

    Yep, it's that easy. You might be wondering what's next...

    Ionitron suggests you head over to the Docs for an overview of Ionic's CSS and Javascript components. Make sure to join the Forum and enter your email below for Ionic updates:

  • 相关阅读:
    洛谷#P5652#基础博弈练习题
    hgoi#20191112
    hgoi#20191111
    hgoi#20191109
    洛谷#P3674#小清新人渣的本愿
    hgoi#20191108
    hgoi#20191107
    树上差分
    树链剖分(树剖)
    LCA(最近公共祖先)问题
  • 原文地址:https://www.cnblogs.com/royi123/p/4042059.html
Copyright © 2011-2022 走看看