aboutsummaryrefslogtreecommitdiff
path: root/src/lustre.gleam
diff options
context:
space:
mode:
authorGiacomo Cavalieri <giacomo.cavalieri@icloud.com>2024-03-21 17:04:06 +0100
committerGitHub <noreply@github.com>2024-03-21 16:04:06 +0000
commite9b765a757b610ea970f80e7c0092bf4899acfa6 (patch)
treeb4494a38e83aa52dd814024d604ae99af2775f53 /src/lustre.gleam
parente6dbabcbe4c0a87909e5c05f68cba4d748debdfd (diff)
downloadlustre-e9b765a757b610ea970f80e7c0092bf4899acfa6.tar.gz
lustre-e9b765a757b610ea970f80e7c0092bf4899acfa6.zip
🔀 Add Tailwind support as an external tool. (#71)
* :sparkles: Add `lustre add tailwind` command * :sparkles: Add Tailwind bundling to `lustre build` command * ♻️ Use template for tailwind entry.css
Diffstat (limited to 'src/lustre.gleam')
-rw-r--r--src/lustre.gleam1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lustre.gleam b/src/lustre.gleam
index 13c81a2..40b8059 100644
--- a/src/lustre.gleam
+++ b/src/lustre.gleam
@@ -210,6 +210,7 @@ pub fn main() {
|> glint.with_name("lustre")
|> glint.with_pretty_help(glint.default_pretty_help())
|> glint.add(at: ["add", "esbuild"], do: add.esbuild())
+ |> glint.add(at: ["add", "tailwind"], do: add.tailwind())
|> glint.add(at: ["build", "app"], do: build.app())
|> glint.add(at: ["build", "component"], do: build.component())
|> glint.add(at: ["dev"], do: dev.run())