This commit is contained in:
2023-09-22 22:15:16 +00:00
parent a5d8da4ef8
commit 0db160a3f5
5 changed files with 314 additions and 52 deletions

View File

@@ -1,5 +1,5 @@
[package]
name = "leptos_start"
name = "iot_frontend"
version = "0.1.0"
edition = "2021"
@@ -17,6 +17,8 @@ leptos_meta = { version = "0.4", features = ["nightly"] }
leptos_actix = { version = "0.4", optional = true }
leptos_router = { version = "0.4", features = ["nightly"] }
wasm-bindgen = "=0.2.87"
reqwest = { version = "0.11.20", features = ["json"] }
serde = "1.0.188"
[features]
csr = ["leptos/csr", "leptos_meta/csr", "leptos_router/csr"]
@@ -40,7 +42,7 @@ panic = "abort"
[package.metadata.leptos]
# The name used by wasm-bindgen/cargo-leptos for the JS/WASM bundle. Defaults to the crate name
output-name = "leptos_start"
output-name = "iot_frontend"
# The site root folder is where cargo-leptos generate all output. WARNING: all content of this folder will be erased on a rebuild. Use it in your server setup.
site-root = "target/site"
# The site-root relative folder where all compiled output (JS, WASM and CSS) is written