NuxtN
Nuxt3y ago
9 replies
Giuliopime

Markdown not rendering style with Tailwind

I have the @nuxtjs/tailwindcss and @nuxt/content installed.

Doing a simple page like so:
<template>
  <main>
    <ContentDoc path="terms-of-service" />
  </main>
</template>

<script setup lang="ts">
</script>

With my content/terms-of-service.md looking like this:
---
title: 'Terms of Service'
---

# Hi
This is a test

I get no styling for the markdown text
Where am I going wrong?
Screenshot_2023-07-11_at_00.24.02.png
Was this page helpful?