The Backstage plugin adds a Open with Backstage button to the resource detail view. If the plugin detects that the page is inside a Backstage iframe, it will send a message to the parent page to open the resource in the Backstage UI.
- Install the dependencies
npm install
- Run the plugin
npm run start
- Install the dependencies
npm install
- Build the plugin
npm run build
For more information on developing Headlamp plugins, please refer to:
- Getting Started, How to create a new Headlamp plugin.
- API Reference, API documentation for what you can do
- UI Component Storybook, pre-existing components you can use when creating your plugin.
- Plugin Examples, Example plugins you can look at to see how it's done.