Getting Started
Adding the @nxtend/ionic-react
plugin to your Nx workspace is trivial, and works just like any other Nx plugin.
#
Install Plugin#
Generating ApplicationsNow, create your Ionic React application.
By default, a Capacitor project will be generated that will allow you to compile your application as a native platform.
@nxtend/ionic-react
uses the @nxtend/capacitor
plugin to add Capacitor support to an Ionic React application in an Nx workspace. By default, Capacitor configuration are added to new @nxtend/ionic-react
applications. To disable this, pass --capacitor false
into the @nxtend/ionic-react
application schematic command.
Nx will ask you some questions about the application, but you can customize it further by passing these options:
#
TargetsGenerated applications expose several functions to the CLI that allow users to build, lint, test, and so on.
These applications are also supported by the Nx affected commands.
#
CapacitorTo learn how to utilize Capacitor with a generated app, visit the plugin Capacitor documentation.