@kinvolk/headlamp-plugin
Version:
The needed infrastructure for building Headlamp plugins.
23 lines (14 loc) • 594 B
Markdown
# Example Plugin: App Menus
Add menus when Headlamp is running as an app.

It also shows how to run some commands locally in the app.
To run the plugin:
```bash
cd plugins/examples/app-menus
npm install
npm start
# See the menu in the app.
```
The main code for the example plugin is in [src/index.tsx](src/index.tsx).
See the API documentation for:
- [Headlamp.setAppMenu](https://headlamp.dev/docs/latest/development/api/classes/plugin_lib.headlamp/#setappmenu)