I'm currently using v-html to dynamically insert content inside a div (
<div v-html="item.answer" />
). This content is in the form of a string and may contain <ul>
and <li>
elements.
Is there a way to style these lists using Tailwind CSS? I was thinking something like [&li]:STYLING=HERE
would be ideal, but if there's a better method, I'd love to learn about it.