Creates a new plugin that can be installed in a Backstage app.
Every plugin is created with a unique ID and a set of extensions that are installed as part of the plugin.
For more information on how plugins work, see the documentation for plugins in the frontend system documentation.
import { createFrontendPlugin } from '@backstage/frontend-plugin-api';export const examplePlugin = createFrontendPlugin({ pluginId: 'example', extensions: [ PageBlueprint.make({ path: '/example', loader: () => import('./ExamplePage').then(m => <m.ExamplePage />), }), ],}); Copy
import { createFrontendPlugin } from '@backstage/frontend-plugin-api';export const examplePlugin = createFrontendPlugin({ pluginId: 'example', extensions: [ PageBlueprint.make({ path: '/example', loader: () => import('./ExamplePage').then(m => <m.ExamplePage />), }), ],});
Creates a new plugin that can be installed in a Backstage app.