Skip to main content

createPlugin()

Home > @backstage/core-plugin-api > createPlugin

Creates Backstage Plugin from config.

Signature:

function createPlugin<Routes extends AnyRoutes = {}, ExternalRoutes extends AnyExternalRoutes = {}>(config: PluginConfig<Routes, ExternalRoutes>): BackstagePlugin<Routes, ExternalRoutes>;

Parameters

Parameter

Type

Description

config

PluginConfig<Routes, ExternalRoutes>

Plugin configuration.

**Returns:**

BackstagePlugin<Routes, ExternalRoutes>