JeffreyWay / laravel-mix-tailwind

mix.tailwind()
347 stars 25 forks source link

Tailwind 2.0 compatibility #29

Closed gnarhard closed 3 years ago

gnarhard commented 3 years ago

@JeffreyWay I'd be happy to fix this on my own when 2.0 compatibility exists, but I wanted to put this on the radar.

hmaesta commented 3 years ago

Hey @GraysonE. Did you manage to make it work?

gnarhard commented 3 years ago

Hey @GraysonE. Did you manage to make it work?

Not yet, but I did get Tailwind to work with Laravel Mix using the compatibility version: https://tailwindcss.com/docs/guides/laravel

gnarhard commented 3 years ago

@hmaesta I think it'll be simpler to patch once Laravel Mix's PostCSS 8 support becomes available.

hmaesta commented 3 years ago

@GraysonE Oops... I was paying too much attention to the PostCSS 7 compatibility build page and didn't realize that there was a laravel-mix tutorial 😅

Now I could make it work. Thank you for your help!

lbssousa commented 3 years ago

@hmaesta I think it'll be simpler to patch once Laravel Mix's PostCSS 8 support becomes available.

Laravel Mix v6.0.0 (with PostCSS 8 support) was just released last week.