0.1.6 • Published 2 years ago

@roche-backstage-repo/plugin-swex-custom v0.1.6

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
2 years ago

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

  1. Add the plugin to your frontend app:
cd packages/app && yarn add @roche-backstage-repo/plugin-swex-custom
  1. Expose the main page in packages/app/src/App.tsx
  import { SwexCustomPage } from '@roche-backstage-repo/plugin-swex-custom';
  <Route path="/swex" element={<SwexCustomPage/>} />
  1. Add the navigation in the frontend packages/app/src/components/Root/Root.tsx:
  <SidebarItem icon={ExtensionIcon} to="swex-custom" text="SW Excellence" />
  1. Start your frontend app, will be accessible to http://localhost:3000