Devin ShoemakerMaintainer of nxtend
A few months ago, I started working on an Nx plugin to enable Ionic React support in an Nx workspace. From the beginning, I planned to add support for Capacitor as well to fully enable the cross-platform development that the Ionic framework promises. Today, I am excited to announce the release of
@nxtend/capacitor, a third-party Capacitor plugin for Nx.
At a high level, Capacitor allows users to compile a web application to Android and iOS.
Capacitor is a spiritual successor to Apache Cordova and Adobe PhoneGap, with inspiration from other popular cross-platform tools like React Native and Turbolinks, but focused entirely on enabling modern web apps to run on all major platforms with ease. Capacitor is backward-compatible with many existing Cordova plugins."
To learn more about Capacitor, visit https://capacitorjs.com/docs
While Capacitor is developed by the Ionic team, the project is actually framework agnostic and should work with any app regardless of the framework used.
@nxtend/ionic-react application schematic has also been updated to generate a Capacitor project by default, though you can easily add Capacitor to an existing application by following the Getting Started documentation.