Merge pull request #4021 from kiranpatel11/master

fix(create-app): fix user-settings routing in create-app
This commit is contained in:
Patrik Oldsberg
2021-01-18 14:04:15 +01:00
committed by GitHub
3 changed files with 23 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
---
'@backstage/create-app': patch
---
fix routing and config for user-settings plugin
To make the corresponding change in your local app, add the following in your App.tsx
```
import { Router as SettingsRouter } from '@backstage/plugin-user-settings';
...
<Route path="/settings" element={<SettingsRouter />} />
```
and the following to your plugins.ts:
```
export { plugin as UserSettings } from '@backstage/plugin-user-settings';
```