Getting Started
Adding the @nxtend/ionic-angular plugin to your Nx workspace is trivial, and works just like any other Nx plugin.
Initialize Plugin#
Generating Applications#
Now, create your Ionic Angular application.
By default, a Capacitor project will be generated that will allow you to compile your application as a native platform.
@nxtend/ionic-angular uses the @nxtend/capacitor plugin to add Capacitor support to an Ionic Angular application in an Nx workspace. By default, Capacitor configuration are added to new @nxtend/ionic-angular applications. To disable this, pass --capacitor false into the @nxtend/ionic-angular application schematic command.
Nx will ask you some questions about the application, but you can customize it further by passing these options:
Targets#
Generated 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.
Capacitor#
To learn how to utilize Capacitor with a generated app, visit the plugin Capacitor documentation.