- Welcome to the Digital.ai (Dai) Release plugin for Backstage!
- With Dai Release Plugin you can monitor all your active releases and view the release flow.
This is a combination of 2 plugins - the frontend and the backend.
The following section helps you add the Digital.ai Release frontend plugin.
You need to set up the Dai Release backend plugin before you move forward with any of these steps.
The frontend plugin needs to be added to your application. To do so:
yarn --cwd packages/app add @digital-ai/plugin-dai-release
Modify your app routes in App.tsx
to include the ReleaseHomePage
component exported from the plugin, for example:
// In packages/app/src/App.tsx
import {DaiReleasePage} from '@digital-ai/plugin-dai-release';
const routes = (
<FlatRoutes>
{/* ...other routes */}
<Route path="/dai-release" element={<DaiReleasePage/>}/>
import {ReleaseSvgIcon} from '@digital-ai/plugin-dai-release';
<SidebarItem icon={ReleaseSvgIcon} to="dai-release" text="Dai Release" />
Modify your app routes in App.tsx
to include the ReleaseHomePage
component exported from the plugin, for example:
// In packages/app/src/App.tsx
import {DaiTemplatePage} from '@digital-ai/plugin-dai-release';
const routes = (
<FlatRoutes>
{/* ...other routes */}
<Route path="/dai-template" element={<DaiTemplatePage/>}/>
import {ReleaseSvgIcon} from '@digital-ai/plugin-dai-release';
<SidebarItem icon={ReleaseSvgIcon} to="dai-template" text="Dai Release Template" />
For more information, see Overview and Adding Release to Your Backstage IDP