[ADD] Added tailwind-css tool in dioxus-cli. tailwind-css downloads tailwind binary from github and puts it in the tool directory. tailwind-css handles release profile by minifying the bundle. Fixed typo in src/config.rs. Updated docs in configure.md. Updated Dioxus.toml by adding tailwind tool

This commit is contained in:
vianney committed 2022-07-20 17:22:22 +02:00
1 parent 66862e2310
commit 014df14a24
5 files changed
+185 -26

No files matched your search

+4 -1
View File
@@ -42,4 +42,7 @@ script = []
# use binaryen.wasm-opt for output Wasm file
# binaryen just will trigger in `web` platform
binaryen = { wasm_opt = true }
binaryen = { wasm_opt = true }
# enable tailwind-css CSS building
tailwind-css= { input = "/somewhere", config = "yay"}