Closed marco-land closed 1 year ago
Great feature request! What do you think about the following syntax?
// `nuxt.config.ts`
export default defineNuxtConfig({
modules: ['nuxt-kql'],
kql: {
prefetch: {
site: {
// Define a query and its language
query: {
query: 'site',
select: ['title']
},
language: 'de'
}
}
}
})
Yeah I think that makes sense 👍 Thank you for looking into it!
Describe the feature
The prefetching is great! Maybe I am overseeing it, but it would be great to prefetch content in different (or rather all available) languages. If this is already possible, it would be great to add something to the existing docs.
Additional information
Final checks