content
content copied to clipboard
TypeScript error : contentCollection & contentFilters inside llms config
Hello,
in nuxt.config.ts I wrote the following as documented in the docs
export default defineNuxtConfig({
modules: [
'@nuxt/content',
'nuxt-llms',
],
llms: {
domain: 'https://example.com',
title: 'title',
sections: [
{
title: 'Documentation',
description: 'Technical documentation and guides',
- contentCollection: 'docs',
},
],
},
})
this outputs :
Object literal may only specify known properties, and 'contentCollection' does not exist in type 'LLMsSection'. ts(2353)
(property) contentCollection: string
How can I get rid of this error ? the same error appears for contentFilters option.
Many thanks in advance for your help.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.
🙌
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.