Add changeset for create-app with instructions for upgrade

Signed-off-by: Kamil Zainal <gh@akza.dev>
This commit is contained in:
Kamil Zainal
2022-01-10 16:09:14 +00:00
parent 5a2204ef0a
commit d4941024bc
+21
View File
@@ -0,0 +1,21 @@
---
'@backstage/create-app': patch
---
Rebind external route for catalog import plugin from `scaffolderPlugin.routes.root` to `catalogImportPlugin.routes.importPage`.
To make this change to an existing app, make the following change to `packages/app/src/App.tsx`
```diff
const App = createApp({
...
bindRoutes({ bind }) {
...
bind(apiDocsPlugin.externalRoutes, {
- createComponent: scaffolderPlugin.routes.root,
+ registerComponent: catalogImportPlugin.routes.importPage,
});
...
},
});
```