Merge pull request #31449 from backstage/vinzscam-patch-2

Import Backstage UI CSS styles in index.ts
This commit is contained in:
Vincenzo Scamporlino
2025-10-21 21:35:25 +02:00
committed by GitHub
@@ -35,10 +35,12 @@ This is how to create a minimal app:
import ReactDOM from 'react-dom/client';
import { createApp } from '@backstage/frontend-defaults';
import catalogPlugin from '@backstage/plugin-catalog/alpha';
import '@backstage/ui/css/styles.css';
// Create your app instance
const app = createApp({
// Features such as plugins can be installed explicitly, but we will explore other options later on
// Custom features such as plugins can be installed explicitly, but they are usually
// auto-discovered, unless `app.packages` is customized in `app-config.yaml`.
features: [catalogPlugin],
});