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.
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.