Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Nuxt 2, Capacitor 3, and Ionic 5 template for starting cross-platform app development.
The Nuxt Ionic Capacitor Template is a GitHub boilerplate that combines Nuxt.js 2, Capacitor 3, and Ionic 5 so you can develop one app and build it for the web, Android, PWA, and Electron desktop.
This template is a starting point for cross-platform app development, using Nuxt.js on the front end, Ionic 5 for mobile-ready UI components, and Capacitor 3 to wrap the web app into deployable native projects. The repository is maintained by Mexson Fernandes and is published on GitHub under the "nuxt-capacitor-app" name. It takes your Nuxt.js source code and generates web builds, Android artifacts, PWA assets, and Electron packages, with a custom app installation button and SEO support included out of the box.
yarn resources command creates icon and splash assets from a 1024x1024 pixel icon and a 2732x2732 pixel splash image in the project.yarn package:linux and yarn package:windows produce desktop builds under the package/ folder, and npm run deb64 creates a Debian installer via electron-installer-debian.yarn resources after adding a 1024x1024 pixel icon and a 2732x2732 pixel splash to generate native assets, then build an Android app with Capacitor.yarn package:linux or yarn package:windows to compile desktop apps into package/, then run npm run deb64 to create a Debian installer for distribution.The template comes with a resource workflow and Electron packaging commands. To prepare app icons, add a 1024x1024 pixel icon file and a 2732x2732 pixel splash file, then execute yarn resources to generate the Cordova-compatible assets. For desktop output, run yarn package:<platform> with a platform name such as linux or windows; the resulting build lands in the package/ directory. To make a Debian installer, install electron-installer-debian globally and run npm run deb64 (or yarn deb64).
The repository metadata states Nuxt 2, Capacitor 3, and Ionic 5. These versions are fixed in the template's dependencies and are the basis for its build configuration.
The README lists support for web browsers (tested on Chrome, Firefox, Brave, and Edge), Android, and PWA (tested on Chrome, Brave, and Edge). Electron support is included as well, with commands that generate Linux and Windows packages.
Place an icon sized 1024x1024 pixels and a splash sized 2732x2732 pixels in the project, then run yarn resources. The script outputs the required icon and splash assets for Capacitor and Cordova.
Yes. The README includes deploy buttons for Vercel, Netlify, and Render. Clicking any of these buttons connects the GitHub repository to the respective hosting platform and starts a deployment of the Nuxt web app.
