Ionic React Overview
@ionic/react combines the core Ionic experience with the tooling and APIs that are tailored to React Developers.
Note: The first official version of Ionic React is v4.11.
365体育投注开户First, install the Ionic CLI:
$ npm install -g @ionic/cli
$ ionic start myAppName
The CLI will guide you through the setup process by asking a couple of questions, including the framework to use (React, of course!) and the starter code template.
365体育投注开户After the app has been created, launch the app:
Now, start building out the app using some of the
Compatible with React version 16.8 and above.
.js extension then remove any of the type annotations with each file.
Capacitor is the official cross-platform app runtime used to make your
Ionic React365体育投注开户 web app run natively on iOS, Android, Electron, and the web.
While there are no known technical limitations to using
Ionic React with
plugins, Capacitor is officially recommended. There are no plans to support a Cordova integration for
Ionic React in the