Closed buditanrim closed 1 month ago
I have tried your code, and it works fine. However, you can also try this: In /pages/article/[...slug].vue
<ContentDoc v-slot="{ doc }">
<article>
<h1>{{ doc.title }}</h1>
<p>{{ doc.year }}</p>
<ContentRenderer :value="doc" />
</article>
</ContentDoc>
You can remove <article>
tag, if it doesn't match your html structure.
Hello, I found that NuxtLayout
created this issue; I'll provide more information soon. Still trying to wrap my head around the issue
I experienced a renderproblem with links in Markdown files in a Nuxt 3 app with Nuxt Content v2. They rendered as plain text and was not clickable. Tried different browsers, incognito, deleted node cache, node_modules, .nuxt. Then i found this issue and removed NuxtLayout from my app.vue file. Then my links in markdown files worked. No solution, but a similar problem i guess? BTW, i upgraded NUXT, Vue, and Nuxt Content to latest versions.
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 was closed because it has been stalled for 30 days with no activity.
Hello. everyone. I'm a bit confused when following the documentation
Given I have a markdown file:
Problem: The title and year is rendered. But the doesn't return anything.
Question: What component can I use to render the content from the markdown?