@roche-backstage-repo/plugin-swex-custom
v0.1.6
Published
To run an end-to-end **Software Excellence Portal** we need - 1. Backstage running instance 2. Portal Frontend 3. [Portal Backend](https://code.roche.com/software-excellence-portal/portal-backend/-/blob/main/README.md)
Downloads
9
Readme
Portal Frontend
To run an end-to-end Software Excellence Portal we need -
- Backstage running instance
- Portal Frontend
- Portal Backend
Backstage running instance
- Install backstage by following this link.
Setup Portal Frontend
- Add the plugin to your frontend app:
cd packages/app && yarn add @roche-backstage-repo/plugin-swex-custom
- Expose the main page in packages/app/src/App.tsx
import { SwexCustomPage } from '@roche-backstage-repo/plugin-swex-custom';
<Route path="/swex" element={<SwexCustomPage/>} />
- Add the navigation in the frontend packages/app/src/components/Root/Root.tsx:
<SidebarItem icon={ExtensionIcon} to="swex-custom" text="SW Excellence" />
- Start your frontend app, will be accessible to http://localhost:3000
