justalever / kickoff_tailwind

A rapid Rails 7 application template for personal use bundled with Tailwind CSS
https://webcrunch.com
573 stars 141 forks source link

Webpacker doesn't compile with Tailwind 2 #14

Closed dalton-cole closed 3 years ago

dalton-cole commented 3 years ago

When building from the template, it installs Tailwind ^2.1 which causes a webpacker compilation error.

Theroundedclass does not exist. If you're sure thatroundedexists, make sure that any@importstatements are being properly processed before Tailwind CSS sees your CSS, as@applycan only be used for classes in the same CSS tree.

dalton-cole commented 3 years ago

Updating dependencies with "tailwindcss": "^1.9.2" seems to work.

justalever commented 3 years ago

I just merged in support for this now. Should be able to run Tailwind 2.0 as well!