diff --git a/.changeset/brave-bugs-know.md b/.changeset/brave-bugs-know.md new file mode 100644 index 0000000000..9c0ae9edf4 --- /dev/null +++ b/.changeset/brave-bugs-know.md @@ -0,0 +1,5 @@ +--- +'@backstage/create-app': patch +--- + +Creates a plugin that redirects from the Home page to the Catalog index page to avoid seeing a not found page error when starting the app. diff --git a/packages/create-app/templates/next-app/app-config.yaml.hbs b/packages/create-app/templates/next-app/app-config.yaml.hbs index b80b980d10..67917fd193 100644 --- a/packages/create-app/templates/next-app/app-config.yaml.hbs +++ b/packages/create-app/templates/next-app/app-config.yaml.hbs @@ -2,6 +2,7 @@ app: title: Scaffolded Backstage App baseUrl: http://localhost:3000 + # Enable all packages by default, this will discover packages from packages/app/package.json packages: all extensions: @@ -11,6 +12,11 @@ app: - nav-item:catalog: false - nav-item:scaffolder: false + # Configure the catalog index page to be the root page, this is normally mounted on /catalog + - page:catalog: + config: + path: / + organization: name: My Company