repl icon indicating copy to clipboard operation
repl copied to clipboard

how add Tailwind

Open kr1ke opened this issue 1 year ago • 0 comments

how i can add Tailwind in playground?

the only way I found is to insert this code into the vue component:

const tailwindScript = document.createElement('script')
tailwindScript.setAttribute('src', 'https://cdn.tailwindcss.com')
document.head.appendChild(tailwindScript)

but is there a way to run this code by default before starting the sandbox?

kr1ke avatar Apr 22 '24 08:04 kr1ke