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
for someone need to make safelist for tailwind css v4 because in v4 there no file like tailwind.config.js anymore , or in postcss.config.js and you cant use other than sm and md modal size. then how to input safelist?? for now in V4.1 you can insert in this code (example) in file app.css in : resource/css/app.css
then paste this or make new safelist [its work for me]: @import 'tailwindcss'; @source inline("{sm:,md:,lg:,xl:,2xl:,}max-w-{sm,md,lg,xl,2xl,3xl,4xl,5xl,6xl,7xl}");
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
for someone need to make safelist for tailwind css v4 because in v4 there no file like tailwind.config.js anymore , or in postcss.config.js and you cant use other than sm and md modal size. then how to input safelist?? for now in V4.1 you can insert in this code (example) in file app.css in :
resource/css/app.css
then paste this or make new safelist [its work for me]:
@import 'tailwindcss';
@source inline("{sm:,md:,lg:,xl:,2xl:,}max-w-{sm,md,lg,xl,2xl,3xl,4xl,5xl,6xl,7xl}");
Beta Was this translation helpful? Give feedback.
All reactions