NuxtN
Nuxt16mo ago
22 replies
magius

Error @nuxtjs/mdc on reload

I got a Error and i dont understand the problem.
When i reload a test of the mdc lib with version 0.9 i got this error
<template>
   <div class="text-gray-600 dark:text-gray-400 prose prose-sm max-w-none">
      <MDC :value="test" tag="div" />
  </div>
</template

<script setup lang="ts">
  const test= '# Hello MDC'
</script>


i got this code from the exemple of the doc i just remplaced the value of the variable in the nuxtjs/mdc doc
image.png
Was this page helpful?