How to prefix all Tailwind-generated classes and CSS variables (V4.0) #17475
-
I am unable to add prefix (tw-) to all tailwind classes . I have refer the documentation(v4.0) but the listed way is not working. I have attached my tailwind.widget.config.js file /** @type {import('tailwindcss').Config} / |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Your |
Beta Was this translation helpful? Give feedback.
Your
tailwind.widget.config.js
is for v3. Consider following the documentation you screenshotted to apply prefixtw:
. Note: you can't havetw-
prefix in v4.