diff --git a/docs/frontend-system/building-plugins/05-migrating.md b/docs/frontend-system/building-plugins/05-migrating.md index f0abc97c81..cf4d82002a 100644 --- a/docs/frontend-system/building-plugins/05-migrating.md +++ b/docs/frontend-system/building-plugins/05-migrating.md @@ -15,9 +15,9 @@ The main concept is that routes, components, apis are now extensions. You can us In the legacy frontend system a plugin was defined in its own `plugin.ts` file as following: ```ts title="my-plugin/src/plugin.ts" - import { createFrontendPlugin } from '@backstage/core-plugin-api'; + import { createPlugin } from '@backstage/core-plugin-api'; - export const myPlugin = createFrontendPlugin({ + export const myPlugin = createPlugin({ id: 'my-plugin', apis: [], routes: {