Guide on using TailwindCSS in Play Framework (without npm) #12835
hertg
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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