Environment
- Operating System: Linux
- Node Version: v20.15.1
- Nuxt Version: 3.12.4
- CLI Version: 3.12.0
- Nitro Version: 2.9.7
- Package Manager: npm@10.7.0
- Builder: -
- User Config: compatibilityDate, devtools, modules, ssr, spaLoadingTemplate, hooks
- Runtime Modules: vuetify-nuxt-module@0.16.1, @nuxt/content@2.13.2, @nuxt/image@1.7.0
- Build Modules: -
Reproduction
Just install fresh nuxt and module @nuxt/content.
Add a markdown file in "content" folder.
Add a page in "pages" folder with <ContentDoc />
Add to nuxt config : ssr:false
-
Run in dev : npm run dev
Appreciate markdown render
-
Generate npm run generate
Check live npm run preview
See error : Document not found, overwrite this content with #not-found slot in <ContentDoc>.
Describe the bug
When using Nuxt Content with markdown files.
It works fine in development and when I generate production builds.
The problem occurs when I try to disable SSR (Server-Side Rendering).
An error appears when loading a markdown file:
Document not found, overwrite this content with #not-found slot in <ContentDoc>.
Additional context
No response
Logs
No response
Environment
Reproduction
Just install fresh nuxt and module
@nuxt/content.Add a markdown file in "content" folder.
Add a page in "pages" folder with
<ContentDoc />Add to nuxt config :
ssr:falseRun in dev :
npm run devAppreciate markdown render
Generate
npm run generateCheck live
npm run previewSee error :
Document not found, overwrite this content with #not-found slot in <ContentDoc>.Describe the bug
When using Nuxt Content with markdown files.
It works fine in development and when I generate production builds.
The problem occurs when I try to disable SSR (Server-Side Rendering).
An error appears when loading a markdown file:
Document not found, overwrite this content with #not-found slot in <ContentDoc>.Additional context
No response
Logs
No response