You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@mia-platform/backstage-plugin-frontend

Package Overview
Dependencies
Maintainers
4
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mia-platform/backstage-plugin-frontend

1.1.1
latest
Source
npmnpm
Version published
Weekly downloads
10
400%
Maintainers
4
Weekly downloads
 
Created
Source

Mia-Platform Backstage Plugin Frontend

@mia-platform/backstage-plugin-frontend is a plugin for the Backstage frontend app. It shows information about the company and its projects on the Mia-Platform console.

Requirements

This plugin requires @mia-platform/backstage-plugin-backend which connects the frontend to the catalog of the backstage app and retrieves all the information from the Mia-Platform console API.

Configuration

The first step is to install the plugin to your Backstage app:

yarn workspace app add @mia-platform/backstage-plugin-frontend

Once the plugin is installed in the App page packages/app/src/App.tsx add the route to our frontend page.

If you are using the new backend system:

import { MiaPlatformPluginFrontendPage } from '@mia-platform/backstage-plugin-frontend';

// ...

<Route path="/mia-platform" element={<MiaPlatformPluginFrontendPage />} />;

If you are using the legacy backend system:

import { MiaPlatformPluginFrontendPage } from '@mia-platform/backstage-plugin-frontend';

// ...

<Route path="/mia-platform" element={<MiaPlatformPluginFrontendPage apiPrefix="/mia-platform" />} />;

At the end on the Root page of your Backstage app packages/app/src/components/Root/Root.tsx add on the sidebar the Mia-Platform frontend page with its icon:

import { MiaPlatformIcon } from '@mia-platform/backstage-plugin-frontend';

// ...

<SidebarItem icon={MiaPlatformIcon} to="mia-platform" text="Mia Platform" />;

FAQs

Package last updated on 09 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts