correct old plugin code reference

Signed-off-by: zeshanziya <zeshan.ziya@axelerant.com>
This commit is contained in:
zeshanziya
2024-08-23 11:29:14 +05:30
parent 3bc05ce226
commit a37860d0e1
@@ -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: {