Change site_root default to ".". Hope that cargo-leptos has that check
This commit is contained in:
parent
6b729f9131
commit
6576d8eda1
|
@ -24,7 +24,7 @@ pub struct LeptosOptions {
|
|||
#[builder(setter(into))]
|
||||
pub output_name: String,
|
||||
/// The path of the all the files generated by cargo-leptos
|
||||
#[builder(setter(into), default="pkg".to_string())]
|
||||
#[builder(setter(into), default=".".to_string())]
|
||||
pub site_root: String,
|
||||
/// The path of the WASM and JS files generated by wasm-bindgen from the root of your app
|
||||
/// By default, wasm-bindgen puts them in `pkg`.
|
||||
|
|
Loading…
Reference in New Issue