You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue
When you add classes in HTML of an .md-file in a Nuxt project, the classes are not added.
Maybe these classes are not being scanned during the build?
E.g.:
---title: 'Some content'description: 'Demo article or whatever'---# Markdown
<divclass="h-64 text-pink-600 bg-red-100">Test with some UnoCSS classes</div>
Those classes are not applied, except when you reuse a class you have elsewhere (in some .vue file).
Reproduce
Create a Nuxt project.
Add unocss.
Add @nuxt/content
Paste the example given above in the content folder.
Q: Is this a bug, is there a common workaround or am I doing something wrong?
The text was updated successfully, but these errors were encountered:
MLoth
changed the title
Classes are not 'added' when using @nuxt/content
Classes are not 'added' with @nuxt/content
Dec 16, 2022
The issue
When you add classes in HTML of an
.md
-file in a Nuxt project, the classes are not added.Maybe these classes are not being scanned during the build?
E.g.:
Those classes are not applied, except when you reuse a class you have elsewhere (in some .vue file).
Reproduce
Q: Is this a bug, is there a common workaround or am I doing something wrong?
The text was updated successfully, but these errors were encountered: