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
I have just published a guide on how to use TailwindCSS in a Play Framework project, without relying on nodejs and npm.
Since TailwindCSS offers a standalone CLI, and thanks to the source file tasks of sbt-web, we can integrate the Tailwind compilation into the sbt build of Play.
Maybe this will be useful for anyone who only dares to touch Javascript bundlers with a long stick... Because I haven't found a stick of sufficient length yet :)
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
-
I have just published a guide on how to use TailwindCSS in a Play Framework project, without relying on nodejs and npm.
Since TailwindCSS offers a standalone CLI, and thanks to the source file tasks of sbt-web, we can integrate the Tailwind compilation into the sbt build of Play.
The guide can be found here:
https://hertig.blog/posts/tailwindcss-in-play-framework-without-npm/
And an example project is publicly available here:
https://codeberg.org/hertg/play-tailwindcss
Maybe this will be useful for anyone who only dares to touch Javascript bundlers with a long stick... Because I haven't found a stick of sufficient length yet :)
Beta Was this translation helpful? Give feedback.
All reactions