This app was created using @capacitor/create-app
,
and comes with a very minimal shell for building an app. The example features the Capacitor-NodeJS
plugin running on the Android and Electron platforms. (IOS is coming soon)
To run the given example, you need to install all dependencies with npm install
and build the web application using
npm run build
. Finally, you can sync the web application into the native project and open it.
npm install
npm run build
npx cap sync
npx cap sync android
npx cap open android
npx cap sync @capacitor-community/electron
npx cap open @capacitor-community/electron
You can use the example npm scripts build:android
and build:electron
to build the project for the corresponding platform.
npm run build:android
npm run build:electron