lustre-labs / lustre

An Elm-inspired framework for building HTML templates, single page applications, and server-rendered components in Gleam!
https://hexdocs.pm/lustre
MIT License
738 stars 52 forks source link

✨ Add the ability to download tailwind through `lustre add`. #59

Closed hayleigh-dot-dev closed 3 months ago

hayleigh-dot-dev commented 3 months ago

Tailwind is a popular library for quick styling. Many other frameworks and tools include official support for Tailwind like Phoenix or Rails, so devs coming to Lustre might expect the same.

We should expand lustre add to include support for the standalone Tailwind binary. Additionally we should detect if a project has a tailwind.config.js and if it does, download and run Tailwind automatically on build.


lustre add tailwind:

lustre build: