Closed
Description
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: [email protected]
- Builder: -
- User Config: compatibilityDate, devtools, modules, ssr, spaLoadingTemplate, hooks
- Runtime Modules: [email protected], @nuxt/[email protected], @nuxt/[email protected]
- 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 livenpm 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
Metadata
Metadata
Assignees
Labels
No labels