为什么选择Ionic?
YOU ALREADY KNOW HTML/CSS/JS
You can leverage the skills you already have from developing web applications with HTML, JavaScript and CSS to build cross-platform mobile apps. If you work with Angular 2, this will be a seamless transitions.
TAKE ADVANTAGE OF PROGRESSIVE WEB APPS
Google has been talking aboutProgressive Web Apps. These are simply web apps that give an app-like user experience to users, and are built with Web Technologies andIonic 2 is at the fore frontof implementing this.
In fact, in the last Angular Connect conference, some members of the Ionic team spoke about ionic and progressive web apps.
Examples of progressive web apps made with ionic 2 can be found inpwa.ionic.io. Just visit any of the apps in your chrome browser on your phone, click on menu and tapAdd to Home Screen. You'll then be able to load it as an app from your home screen.
TARGET ALL MAJOR MOBILE PLATFORMS
If you need to quickly build an app for all major mobile platforms (Android, iOS and Windows Phone), having one codebase may be the fastest way to do it, and Ionic is perfect for such a scenario. Updating the app, or rolling uout updates is just as easy as editing one code base.
NATIVE FUNCTIONALITY IS EASY TO IMPLEMENT
There area lot of cordova pluginsthat allow you to include native functionality of the platform you are building for. Ionic provides a feature calledionic-nativethat enables you use most of the cordova plugins as providers in your ionic app. The Ionic 2 documentation hasimplimentation examples of some of the plugins.