Skip to content

Best way to configure a prefix when using V4 via the Play CDN #15749

Answered by wongjn
pjhardie asked this question in Help
Discussion options

You must be logged in to vote

Use the prefix() function when @importing Tailwind:

<script src="https://unpkg.com/@tailwindcss/browser@4"></script>

<style type="text/tailwindcss">
@import "tailwindcss" prefix(tw);
</style>

JSFiddle

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@outdoorsman
Comment options

Answer selected by pjhardie
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants