You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cargo-leptos-version = "*"release = false# Custom scripts, e.g. `leptos run dev` `leptos run build-release`
[scripts]
dev = "leptos serve --config leptos.dev.toml"build-release = "leptos serve --config leptos.release.toml"
[server]
# Specify which IP addresses the server should listen on.host = "localhost"# Specify server port.port = 3000# Automatically open the app in the browser on server start.open = false# File system watcherdefault-watch = truewatch = ["Cargo.toml", "docs/**/*.md"]
# Configure custom proxy rules for the dev server.
[[server.proxy]]
match = "/api"target = "http://localhost:8080"# Changes the origin of the host header to the target URL.change-origin = falsews = false
[build]
# The name used by wasm-bindgen/cargo-leptos for the JS/WASM bundle. Defaults to the crate nameoutput-name = ""# 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.output-dir = "target/site"# The output-dir relative folder where all compiled output (JS, WASM and CSS) is writtenassets-dir = "assets"# Copy to the root directory of output-dir and are always served or copied as-is without transform.public-dir = "public"
[build.csr]
lib = falsedefault-args = trueargs = []
target = "wasm32-unknown-unknown"default-features = falsefeatures = ["csr"]
[build.ssr]
lib = falsedefault-args = trueargs = []
default-features = falsefeatures = ["ssr"]
[build.hydrate]
lib = truedefault-args = trueargs = []
target = "wasm32-unknown-unknown"default-features = falsefeatures = ["hydrate"]
scripts
leptos new --template leptos-rs/start-axum
leptos new --template https://github.com/leptos-rs/start-axum
leptos new --template DioxusLabs/dioxus-template --subtemplate Desktop
leptos new --template https://github.com/DioxusLabs/dioxus-template --subtemplate Desktop
// Using leptosfmt
leptos fmt
leptos serve csr
leptos serve ssr
leptos serve ssr --no-hydrate
leptos build csr
leptos build ssr
leptos build ssr --no-hydrate
leptos build hydrate
The text was updated successfully, but these errors were encountered:
Organize config and commands for discussion.
Leptos.toml
scripts
The text was updated successfully, but these errors were encountered: