Open xvaara opened 2 months ago
This is not related to Content module, try removing template
inside the loop:
<ul>
<li v-for="(item, key, index) in data.links" :key="key">
<b> {{ key }} s{{ index }}s </b>
<a :href="item">
{{ item }}
</a>
</li>
</ul>
The template
was left there from a more complex componenent. The component works when called from vue file, endless loop when called from a markdown file. So if it's not related to Content module is the bug in mdc?
Environment
-
Reproduction
https://stackblitz.com/edit/github-j1www5?file=content%2Findex.md,content%2Fcontact.yml,components%2FComp.global.vue,app.vue
Describe the bug
Endless loop when querying in a global component used in markdown when using NuxtLayout
Additional context
No response
Logs