0.1.6 • Published 2 years ago
@roche-backstage-repo/plugin-swex-custom v0.1.6
Portal Frontend
To run an end-to-end Software Excellence Portal we need - 1. Backstage running instance 2. Portal Frontend 3. Portal Backend
Backstage running instance 1. 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