Skip to content

Commit ffadfeb

Browse files
committed
docs: add bug badge to routed scene
1 parent 9cd861b commit ffadfeb

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

apps/astro-docs/astro.config.mjs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,11 @@ export default defineConfig({
151151
items: [
152152
{ label: 'Directives', slug: 'core/advanced/directives' },
153153
{ label: 'Portals', slug: 'core/advanced/portals' },
154-
{ label: 'Routed Scene', slug: 'core/advanced/routed-scene' },
154+
{
155+
label: 'Routed Scene',
156+
slug: 'core/advanced/routed-scene',
157+
badge: { text: 'Bug', variant: 'danger' },
158+
},
155159
{ label: 'Performance', slug: 'core/advanced/performance' },
156160
],
157161
},

apps/astro-docs/src/content/docs/core/advanced/routed-scene.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ description: Details about the Angular Three `NgtRoutedScene`
55

66
import { Tabs, TabItem } from '@astrojs/starlight/components';
77

8+
:::danger
9+
10+
This is no longer working due to [a fix in Angular Router](https://github.com/angular/angular/commit/3839cfbb18fcc70cae5a6ba4ba7676b1c4acf7a0).
11+
We will re-enable this feature once a workaround is found or a new fix is released.
12+
13+
:::
14+
815
Angular Three supports routed scenes. This is useful for when you want to have different scene graphs for different routes but keep the
916
root `NgtCanvas` component the same.
1017

0 commit comments

Comments
 (0)