Merge pull request #31032 from secustor/docs/fix-diff-for-migration-guide

docs: fix diff for building apps guide
This commit is contained in:
Fredrik Adelöw
2025-09-01 14:24:20 +02:00
committed by GitHub
@@ -913,7 +913,7 @@ const app = createApp({
If you are not using the default `<CatalogIndexPage />` you can install your custom catalog page as an override for now instead, and fully migrate it to the new system later.
```tsx title="in packages/app/src/App.tsx"
/* highlight-remove-start */
/* highlight-add-start */
const catalogPluginOverride = catalogPlugin.withOverrides({
extensions: [
catalogPlugin.getExtension('page:catalog').override({
@@ -928,13 +928,13 @@ const catalogPluginOverride = catalogPlugin.withOverrides({
}),
],
});
/* highlight-remove-end */
/* highlight-add-end */
const app = createApp({
/* highlight-remove-next-line */
features: [catalogPlugin, convertedOptionsModule, ...convertedRootFeatures],
/* highlight-add-next-line */
features: [
/* highlight-remove-next-line */
catalogPlugin,
/* highlight-add-next-line */
catalogPluginOverride,
convertedOptionsModule,
...convertedRootFeatures,