From 713dcd21ff0384289abe71ac230de0d1576e22e2 Mon Sep 17 00:00:00 2001 From: Vincenzo Scamporlino Date: Mon, 20 Oct 2025 21:17:16 +0200 Subject: [PATCH] Add catalogPlugin to app features Signed-off-by: Vincenzo Scamporlino --- docs/frontend-system/building-apps/01-index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/frontend-system/building-apps/01-index.md b/docs/frontend-system/building-apps/01-index.md index 20b7435524..0c96bdf15d 100644 --- a/docs/frontend-system/building-apps/01-index.md +++ b/docs/frontend-system/building-apps/01-index.md @@ -34,13 +34,14 @@ This is how to create a minimal app: ```tsx title="in src/index.ts" 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({ // 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: [], + features: [catalogPlugin], }); // This creates a React element that renders the entire app