We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9e8a6a commit 8a226abCopy full SHA for 8a226ab
docs/content/docs/7.integrations/01.i18n.md
@@ -88,7 +88,7 @@ import type { Collections } from '@nuxt/content'
88
89
const route = useRoute()
90
const { locale } = useI18n()
91
-const slug = computed(() => withLeadingSlash(String(route.params.slug)))
+const slug = computed(() => Array.isArray(route.params.slug) ? withLeadingSlash(String(route.params.slug.join('/'))) : withLeadingSlash(String(route.params.slug)))
92
93
const { data: page } = await useAsyncData('page-' + slug.value, async () => {
94
// Build collection name based on current locale
0 commit comments