cargo-leptos 0.0.2

Build tool for Leptos.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[package.metadata.leptos]
# Path, relative to root, to generat rust code to
gen_file = "src/server/generated.rs"
# Path to the source index.html file
index_file = "index.html"
# On which port to serve the client side rendered site (when using --csr option)
csr_port = 3000
# The port to use for automatic reload monitoring
reload_port = 3001

[package.metadata.leptos.style]
# Main style file. If scss or sass then it will be compiled to css.
# the parent folder will be watched for changes
file = "style/main.scss"
# A https://browsersl.ist query
browserquery = "defaults"