Skip to content

Commit

Permalink
examples: use cargo-leptos Tailwind support in Tailwind examples (#1625)
Browse files Browse the repository at this point in the history
  • Loading branch information
SleeplessOne1917 authored Sep 6, 2023
1 parent db20be5 commit 2798dc4
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 1,301 deletions.
7 changes: 5 additions & 2 deletions examples/leptos-tailwind-axum/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,11 @@ site-root = "target/site"
# The site-root relative folder where all compiled output (JS, WASM and CSS) is written
# Defaults to pkg
site-pkg-dir = "pkg"
# [Optional] The source CSS file. If it ends with .sass or .scss then it will be compiled by dart-sass into CSS. The CSS is optimized by Lightning CSS before being written to <site-root>/<site-pkg>/app.css
style-file = "style/output.css"
# The tailwind input file.
#
# Optional, Activates the tailwind build
tailwind-input-file = "style/tailwind.css"

# [Optional] Files in the asset-dir will be copied to the site-root directory
assets-dir = "public"
# The IP and port (ex: 127.0.0.1:3000) where the server serves the content. Use it in your server setup.
Expand Down
Loading

0 comments on commit 2798dc4

Please sign in to comment.