@backstage/plugin-register-component
v0.2.22
Published
> This plugin is deprecated in favor of [`@backstage/catalog-import`](https://github.com/backstage/backstage/tree/master/plugins/catalog-import), and will be soon removed from the project.
Downloads
204
Readme
Register component plugin
This plugin is deprecated in favor of
@backstage/catalog-import
, and will be soon removed from the project.
Welcome to the register-component plugin!
This plugin allows you to submit your Backstage component using your software's YAML config.
When installed it is accessible on localhost:3000/register-component.
Standalone setup
- Install plugin and its dependency
plugin-catalog
# From your Backstage root directory
cd packages/app
yarn add @backstage/plugin-register-component
- Add the
RegisterComponentPage
extension to yourApp.tsx
:
// packages/app/src/App.tsx
import { RegisterComponentPage } from '@backstage/plugin-cost-insights';
<FlatRoutes>
...
<Route path="/register-component" element={<RegisterComponentPage />} />
...
</FlatRoutes>;
Running
Just run the backstage.
yarn start && yarn --cwd packages/backend start
Usage
Pretty straightforward, navigate to localhost:3000/register-component and enter your component's YAML config URL.