Description
xplat is a set of open-source tools for Nx workspaces that add app generators for several cross-platform frameworks. It lets you create Electron desktop apps, Ionic apps and NativeScript apps inside an existing Nx monorepo. The Electron generator uses a web app already in your workspace as its target, so you build the web app first and then wrap it for the desktop. The Ionic generator can prepare Capacitor projects for iOS and Android, and the NativeScript generator covers iOS and Android too. To get started, you install the Nx JavaScript plugin and initialize the workspace so a tsconfig.base.json file is created, then install the xplat tools and generate the apps you need. The project is aimed at teams that share one codebase across web, desktop and mobile. The README notes that it is compatible with Nx 19.x, links to talks about the project, and recommends VS Code with the Nx Console extension. The code is open source and hosted on GitHub.…
Highlights
- Generators for Electron, Ionic and NativeScript apps
- Uses an existing web app as the Electron target
- Capacitor setup for iOS and Android with Ionic
- NativeScript generators for iOS and Android
- Compatible with Nx 19.x
Ratings & Reviews
No ratings yet
Be the first to rate Xplat.
People also visit
Capacitor
Build cross-platform Native Progressive Web Apps for iOS, Android, and the Web
Xplat FAQ
What is xplat?
A set of tools that add app generators to Nx, the monorepo build system, for Electron, Ionic and NativeScript projects.
Which frameworks are supported?
Electron, Ionic and NativeScript. Ionic apps can be prepared for iOS and Android with Capacitor, and NativeScript apps can target iOS and Android.
Which Nx version works?
The README says the tools are compatible with Nx 19.x.
How do I start?
Install the @nx/js plugin and initialize your Nx workspace, then install the xplat tools and generate your app with the matching generator. The README has the exact commands.
Is it free?
Yes. xplat is open source and its code is on GitHub.
What are the best Xplat alternatives?
Popular alternatives to Xplat include Capacitor, Launchy and CodexDesktop-Rebuild. See all Xplat alternatives


