Skip to content
This repository has been archived by the owner on Jun 19, 2020. It is now read-only.
/ kubenav-plugin Public archive

Capacitor plugin for the kubenav app.

License

Notifications You must be signed in to change notification settings

kubenav/kubenav-plugin

Repository files navigation

kubenav Plugin

The kubenav Plugin is used within the kubenav app. It contains the native parts for the kubenav app, using JavaScript for the web implementation and the bindings from the bind repository.

Development

Create a directory kubenav and clone the kubenav-plugin and kubenav repository:

mkdir kubenav
cd kubenav

git clone [email protected]:kubenav/kubenav-plugin.git
git clone [email protected]:kubenav/kubenav.git

Build the package using:

npm run build

To use your local changes from the kubenav-plugin in the kubenav app change the following line in the package.json file:

  "dependencies": {
-    "@kubenav/kubenav-plugin": "1.0.0",
+    "@kubenav/kubenav-plugin": "file:../kubenav-plugin",
  }

Then run the following commands in the clones kubenav repository:

npm install
npx cap sync

Now you are ready to test your changes in the kubenav app.