Ionic create project

Ionic create project

Ionic Profile

Ionic is an open source mobile application development framework, it can be easy to use web technology to build cross-platform mobile application quality. It allows us to quickly develop mobile App, a mobile terminal WEB page, micro-channel public platform application, mixing app web page.

Ionic4 has been released based on Angular official version, and support for React Vue is still in alpha state, the future we can develop mobile client applications with their preferred language combination Ionic.

Ionic Ionic4 is the fastest ever, the smallest and most scalable version.

Ionic excellent properties make Ionic 4 become the best UI framework to build high performance of PWA. Ionic team spent a year building a Web component using Stencil pipeline to generate Ionic components to achieve specified performance criteria Google, using the new asynchronous loading components and methods of interaction. Ionic4 ensure a faster speed.

Ionic official website

ionic official website: https://ionicframework.com/
ionic Chinese: http://www.ionic.wang/

Installation Ionic

Installation ionic

npm install -g cordova ionic

Creating Ionic application

Use ready-made application templates Ionic official or a blank project to create an Ionic application.

ionic start myApp tabs

Here Insert Picture Description

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

Run the application

Created using Ionic tool, test, run your apps.

cd myApp
ionic serve

Android App Package

$ cd myApp
$ ionic cordova platform add android
$ ionic cordova build android
$ ionic cordova emulate android

Packaging IOS App

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

If an error occurs ". Ios-sim was not found", you can execute the following command:

npm install -g ios-sim

Guess you like

Origin www.cnblogs.com/wjw1014/p/12502811.html