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 0afd2ac commit 37340bbCopy full SHA for 37340bb
1 file changed
docs/content/docs/7.integrations/01.i18n.md
@@ -81,7 +81,7 @@ import { withLeadingSlash } from 'ufo'
81
import type { Collections } from '@nuxt/content'
82
83
const route = useRoute()
84
-const { locale, localeProperties } = useI18n()
+const { locale } = useI18n()
85
const slug = computed(() => withLeadingSlash(String(route.params.slug)))
86
87
const { data: page } = await useAsyncData('page-' + slug.value, async () => {
@@ -161,4 +161,4 @@ Make sure to handle missing content gracefully and provide clear feedback to use
161
162
You can see a complete working example:
163
- **Source**: https://github.com/nuxt/content/tree/main/examples/i18n
164
-- **Live Demo**: https://content3-i18n.nuxt.dev/
+- **Live Demo**: https://content3-i18n.nuxt.dev/
0 commit comments