Closed tiptronic closed 6 months ago
You should define defaultLocale
under content
options:
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
modules: ['@nuxt/content'],
content: {
defaultLocale: 'de'
}
})
Environment
Build Modules: -
Reproduction
add this to
nuxt.config.ts
Describe the bug
Following the
get started
with content.nuxt, there are some types missing, e.g. trying to adddefaultLocale
shows an error (see screenshot)Additional context
More generally speaking: The
getting started
leaves some questions open... e.g. if you are about to get started, it is not really clear what auseContentHead
composable is, or whatdefault behaviour
inChange default behaviour of Content APIs.
means.It would be nice, if the
getting started
provides steps which are possible to follow. As is, I'm lost, because it is unclear which of the configuration properties are required/supported to continue and which ones aren't.Logs
No response