Skip to content

📦 Example projects using the Capacitor-NodeJS plugin

Notifications You must be signed in to change notification settings

hampoelz/Capacitor-NodeJS_Examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Capacitor-NodeJS Example App

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)

Running this example

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

Build the native project

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

About

📦 Example projects using the Capacitor-NodeJS plugin

Resources

Stars

Watchers

Forks