Add changeset for create-app with instructions for upgrade
Signed-off-by: Kamil Zainal <gh@akza.dev>
This commit is contained in:
@@ -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,
|
||||
});
|
||||
...
|
||||
},
|
||||
});
|
||||
```
|
||||
Reference in New Issue
Block a user