Skip to main content

createFrontendPlugin()

Home > @backstage/frontend-plugin-api > createFrontendPlugin

Signature:

function createFrontendPlugin<TId extends string, TRoutes extends AnyRoutes = {}, TExternalRoutes extends AnyExternalRoutes = {}, TExtensions extends readonly ExtensionDefinition[] = []>(options: PluginOptions<TId, TRoutes, TExternalRoutes, TExtensions>): FrontendPlugin<TRoutes, TExternalRoutes, {
[KExtension in TExtensions[number] as ResolveExtensionId<KExtension, TId>]: KExtension;
}>;

Parameters

Parameter

Type

Description

options

PluginOptions<TId, TRoutes, TExternalRoutes, TExtensions>

**Returns:**

FrontendPlugin<TRoutes, TExternalRoutes, { [KExtension in TExtensions[number] as ResolveExtensionId<KExtension, TId>]: KExtension; }>