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 git@github.com:kubenav/kubenav-plugin.git
git clone git@github.com:kubenav/kubenav.gitBuild the package using:
npm run buildTo 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 syncNow you are ready to test your changes in the kubenav app.