diff --git a/examples/counter_isomorphic/Cargo.toml b/examples/counter_isomorphic/Cargo.toml index 503c3bb82..8a13a9246 100644 --- a/examples/counter_isomorphic/Cargo.toml +++ b/examples/counter_isomorphic/Cargo.toml @@ -69,7 +69,7 @@ reload-port = 3001 end2end-cmd = "npx playwright test" # The browserlist query used for optimizing the CSS. browserquery = "defaults" -# Set by cargo-leptos watch when building with tha tool. Controls whether autoreload JS will be included in the head +# Set by cargo-leptos watch when building with that tool. Controls whether autoreload JS will be included in the head watch = false # The environment Leptos will run in, usually either "DEV" or "PROD" env = "DEV" diff --git a/examples/error_boundary/README.md b/examples/error_boundary/README.md index eda9fe563..b3a8007db 100644 --- a/examples/error_boundary/README.md +++ b/examples/error_boundary/README.md @@ -8,7 +8,7 @@ See the [Examples README](../README.md) for setup and run instructions. ## Testing -This project is configured to run start and stop of processes for integration tests wihtout the use of Cargo Leptos or Node. +This project is configured to run start and stop of processes for integration tests without the use of Cargo Leptos or Node. ## Quick Start diff --git a/examples/errors_axum/Cargo.toml b/examples/errors_axum/Cargo.toml index 5e3e3ea84..8a7693ba6 100644 --- a/examples/errors_axum/Cargo.toml +++ b/examples/errors_axum/Cargo.toml @@ -61,7 +61,7 @@ reload-port = 3001 end2end-cmd = "npx playwright test" # The browserlist query used for optimizing the CSS. browserquery = "defaults" -# Set by cargo-leptos watch when building with tha tool. Controls whether autoreload JS will be included in the head +# Set by cargo-leptos watch when building with that tool. Controls whether autoreload JS will be included in the head watch = false # The environment Leptos will run in, usually either "DEV" or "PROD" env = "DEV" diff --git a/examples/hackernews/Cargo.toml b/examples/hackernews/Cargo.toml index 07190636a..e1e9a055c 100644 --- a/examples/hackernews/Cargo.toml +++ b/examples/hackernews/Cargo.toml @@ -70,7 +70,7 @@ reload-port = 3001 end2end-cmd = "npx playwright test" # The browserlist query used for optimizing the CSS. browserquery = "defaults" -# Set by cargo-leptos watch when building with tha tool. Controls whether autoreload JS will be included in the head +# Set by cargo-leptos watch when building with that tool. Controls whether autoreload JS will be included in the head watch = false # The environment Leptos will run in, usually either "DEV" or "PROD" env = "DEV" diff --git a/examples/hackernews_axum/Cargo.toml b/examples/hackernews_axum/Cargo.toml index 151358cfc..440d43fe1 100644 --- a/examples/hackernews_axum/Cargo.toml +++ b/examples/hackernews_axum/Cargo.toml @@ -71,7 +71,7 @@ reload-port = 3001 end2end-cmd = "npx playwright test" # The browserlist query used for optimizing the CSS. browserquery = "defaults" -# Set by cargo-leptos watch when building with tha tool. Controls whether autoreload JS will be included in the head +# Set by cargo-leptos watch when building with that tool. Controls whether autoreload JS will be included in the head watch = false # The environment Leptos will run in, usually either "DEV" or "PROD" env = "DEV" diff --git a/examples/hackernews_islands_axum/Cargo.toml b/examples/hackernews_islands_axum/Cargo.toml index aac78d6a5..fc83daf5b 100644 --- a/examples/hackernews_islands_axum/Cargo.toml +++ b/examples/hackernews_islands_axum/Cargo.toml @@ -81,7 +81,7 @@ reload-port = 3001 end2end-cmd = "npx playwright test" # The browserlist query used for optimizing the CSS. browserquery = "defaults" -# Set by cargo-leptos watch when building with tha tool. Controls whether autoreload JS will be included in the head +# Set by cargo-leptos watch when building with that tool. Controls whether autoreload JS will be included in the head watch = false # The environment Leptos will run in, usually either "DEV" or "PROD" env = "DEV" diff --git a/examples/hackernews_js_fetch/Cargo.toml b/examples/hackernews_js_fetch/Cargo.toml index 1d62fdf30..00a934bdf 100644 --- a/examples/hackernews_js_fetch/Cargo.toml +++ b/examples/hackernews_js_fetch/Cargo.toml @@ -78,7 +78,7 @@ reload-port = 3001 end2end-cmd = "npx playwright test" # The browserlist query used for optimizing the CSS. browserquery = "defaults" -# Set by cargo-leptos watch when building with tha tool. Controls whether autoreload JS will be included in the head +# Set by cargo-leptos watch when building with that tool. Controls whether autoreload JS will be included in the head watch = false # The environment Leptos will run in, usually either "DEV" or "PROD" env = "DEV" diff --git a/examples/server_fns_axum/Cargo.toml b/examples/server_fns_axum/Cargo.toml index 2cf881071..338370d63 100644 --- a/examples/server_fns_axum/Cargo.toml +++ b/examples/server_fns_axum/Cargo.toml @@ -15,7 +15,7 @@ leptos = { path = "../../leptos", features = ["nightly"] } leptos_axum = { path = "../../integrations/axum", optional = true } leptos_meta = { path = "../../meta", features = ["nightly"] } leptos_router = { path = "../../router", features = ["nightly"] } -server_fn = { path = "../../server_fn", features = ["serde-lite", "rkyv", "multipart" ]} +server_fn = { path = "../../server_fn", features = ["serde-lite", "rkyv", "multipart"] } log = "0.4" simple_logger = "4.0" serde = { version = "1", features = ["derive"] } @@ -49,7 +49,7 @@ ssr = [ "dep:notify", "dep:dashmap", "dep:once_cell", - "dep:async-broadcast" + "dep:async-broadcast", ] [package.metadata.cargo-all-features] @@ -77,7 +77,7 @@ end2end-cmd = "cargo make test-ui" end2end-dir = "e2e" # The browserlist query used for optimizing the CSS. browserquery = "defaults" -# Set by cargo-leptos watch when building with tha tool. Controls whether autoreload JS will be included in the head +# Set by cargo-leptos watch when building with that tool. Controls whether autoreload JS will be included in the head watch = false # The environment Leptos will run in, usually either "DEV" or "PROD" env = "DEV" diff --git a/examples/session_auth_axum/Cargo.toml b/examples/session_auth_axum/Cargo.toml index 7792f8e7e..755fb1343 100644 --- a/examples/session_auth_axum/Cargo.toml +++ b/examples/session_auth_axum/Cargo.toml @@ -19,7 +19,7 @@ leptos_router = { path = "../../router", features = ["nightly"] } log = "0.4" simple_logger = "4.0" serde = { version = "1.0", features = ["derive"] } -axum = { version = "0.7", optional = true, features=["macros"] } +axum = { version = "0.7", optional = true, features = ["macros"] } tower = { version = "0.4", optional = true } tower-http = { version = "0.5", features = ["fs"], optional = true } tokio = { version = "1", features = ["full"], optional = true } @@ -83,7 +83,7 @@ reload-port = 3001 end2end-cmd = "npx playwright test" # The browserlist query used for optimizing the CSS. browserquery = "defaults" -# Set by cargo-leptos watch when building with tha tool. Controls whether autoreload JS will be included in the head +# Set by cargo-leptos watch when building with that tool. Controls whether autoreload JS will be included in the head watch = false # The environment Leptos will run in, usually either "DEV" or "PROD" env = "DEV" diff --git a/examples/session_auth_axum/src/auth.rs b/examples/session_auth_axum/src/auth.rs index 0324a6604..4bc6bf97e 100644 --- a/examples/session_auth_axum/src/auth.rs +++ b/examples/session_auth_axum/src/auth.rs @@ -51,7 +51,7 @@ pub mod ssr { .await .ok()?; - //lets just get all the tokens the user can use, we will only use the full permissions if modifing them. + //lets just get all the tokens the user can use, we will only use the full permissions if modifying them. let sql_user_perms = sqlx::query_as::<_, SqlPermissionTokens>( "SELECT token FROM user_permissions WHERE user_id = ?;", ) @@ -75,7 +75,7 @@ pub mod ssr { .await .ok()?; - //lets just get all the tokens the user can use, we will only use the full permissions if modifing them. + //lets just get all the tokens the user can use, we will only use the full permissions if modifying them. let sql_user_perms = sqlx::query_as::<_, SqlPermissionTokens>( "SELECT token FROM user_permissions WHERE user_id = ?;", ) diff --git a/examples/slots/src/lib.rs b/examples/slots/src/lib.rs index 9039d6042..6c3fcb44f 100644 --- a/examples/slots/src/lib.rs +++ b/examples/slots/src/lib.rs @@ -1,6 +1,6 @@ use leptos::*; -// Slots are created in simillar manner to components, except that they use the #[slot] macro. +// Slots are created in similar manner to components, except that they use the #[slot] macro. #[slot] struct Then { children: ChildrenFn, diff --git a/examples/sso_auth_axum/Cargo.toml b/examples/sso_auth_axum/Cargo.toml index b463110b0..2f85a273b 100644 --- a/examples/sso_auth_axum/Cargo.toml +++ b/examples/sso_auth_axum/Cargo.toml @@ -86,7 +86,7 @@ reload-port = 3001 end2end-cmd = "npx playwright test" # The browserlist query used for optimizing the CSS. browserquery = "defaults" -# Set by cargo-leptos watch when building with tha tool. Controls whether autoreload JS will be included in the head +# Set by cargo-leptos watch when building with that tool. Controls whether autoreload JS will be included in the head watch = false # The environment Leptos will run in, usually either "DEV" or "PROD" env = "DEV" diff --git a/examples/sso_auth_axum/src/auth.rs b/examples/sso_auth_axum/src/auth.rs index ce8f4d706..3f9d909f2 100644 --- a/examples/sso_auth_axum/src/auth.rs +++ b/examples/sso_auth_axum/src/auth.rs @@ -47,7 +47,7 @@ pub mod ssr_imports { .await .ok()?; - //lets just get all the tokens the user can use, we will only use the full permissions if modifing them. + //lets just get all the tokens the user can use, we will only use the full permissions if modifying them. let sql_user_perms = sqlx::query_as::<_, SqlPermissionTokens>( "SELECT token FROM user_permissions WHERE user_id = ?;", ) @@ -71,7 +71,7 @@ pub mod ssr_imports { .await .ok()?; - //lets just get all the tokens the user can use, we will only use the full permissions if modifing them. + //lets just get all the tokens the user can use, we will only use the full permissions if modifying them. let sql_user_perms = sqlx::query_as::<_, SqlPermissionTokens>( "SELECT token FROM user_permissions WHERE user_id = ?;", ) diff --git a/examples/tailwind_actix/Cargo.toml b/examples/tailwind_actix/Cargo.toml index d2d566a53..57cd5d7e8 100644 --- a/examples/tailwind_actix/Cargo.toml +++ b/examples/tailwind_actix/Cargo.toml @@ -8,7 +8,6 @@ crate-type = ["cdylib", "rlib"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] leptos = { path = "../../leptos", features = ["nightly"] } leptos_actix = { path = "../../integrations/actix", optional = true } @@ -17,12 +16,12 @@ leptos_router = { path = "../../router", features = ["nightly"] } gloo-net = { version = "0.2", features = ["http"] } log = "0.4" -# dependecies for client (enable when csr or hydrate set) +# dependencies for client (enable when csr or hydrate set) wasm-bindgen = { version = "0.2", optional = true } console_log = { version = "1", optional = true } console_error_panic_hook = { version = "0.1", optional = true } -# dependecies for server (enable when ssr set) +# dependencies for server (enable when ssr set) actix-files = { version = "0.6", optional = true } actix-web = { version = "4", features = ["macros"], optional = true } futures = { version = "0.3", optional = true } @@ -97,7 +96,7 @@ end2end-cmd = "npx playwright test" end2end-dir = "end2end" # The browserlist query used for optimizing the CSS. browserquery = "defaults" -# Set by cargo-leptos watch when building with tha tool. Controls whether autoreload JS will be included in the head +# Set by cargo-leptos watch when building with that tool. Controls whether autoreload JS will be included in the head watch = false # The environment Leptos will run in, usually either "DEV" or "PROD" env = "DEV" diff --git a/examples/tailwind_axum/README.md b/examples/tailwind_axum/README.md index ea2f705f7..915d2b296 100644 --- a/examples/tailwind_axum/README.md +++ b/examples/tailwind_axum/README.md @@ -1,4 +1,4 @@ -# Leptos with Axum + TailwindCSS Tempate +# Leptos with Axum + TailwindCSS Template This is a template demonstrating how to integrate [TailwindCSS](https://tailwindcss.com/) with the [Leptos](https://github.com/leptos-rs/leptos) web framework, Axum server, and the [cargo-leptos](https://github.com/akesson/cargo-leptos) tool. diff --git a/examples/tailwind_csr/Cargo.toml b/examples/tailwind_csr/Cargo.toml index 291bdfb23..4a22d2aed 100644 --- a/examples/tailwind_csr/Cargo.toml +++ b/examples/tailwind_csr/Cargo.toml @@ -10,9 +10,7 @@ leptos_router = { path = "../../router", features = ["csr", "nightly"] } log = "0.4" gloo-net = { version = "0.2", features = ["http"] } - -# dependecies for client (enable when csr or hydrate set) +# dependencies for client (enable when csr or hydrate set) wasm-bindgen = { version = "0.2" } -console_log = { version = "1"} -console_error_panic_hook = { version = "0.1"} - +console_log = { version = "1" } +console_error_panic_hook = { version = "0.1" } diff --git a/examples/todo_app_sqlite/Cargo.toml b/examples/todo_app_sqlite/Cargo.toml index c0f97e4f6..5e0727fb6 100644 --- a/examples/todo_app_sqlite/Cargo.toml +++ b/examples/todo_app_sqlite/Cargo.toml @@ -67,7 +67,7 @@ end2end-cmd = "cargo make test-ui" end2end-dir = "e2e" # The browserlist query used for optimizing the CSS. browserquery = "defaults" -# Set by cargo-leptos watch when building with tha tool. Controls whether autoreload JS will be included in the head +# Set by cargo-leptos watch when building with that tool. Controls whether autoreload JS will be included in the head watch = false # The environment Leptos will run in, usually either "DEV" or "PROD" env = "DEV" diff --git a/examples/todo_app_sqlite_axum/Cargo.toml b/examples/todo_app_sqlite_axum/Cargo.toml index 08d73d2b2..2e9194a17 100644 --- a/examples/todo_app_sqlite_axum/Cargo.toml +++ b/examples/todo_app_sqlite_axum/Cargo.toml @@ -69,7 +69,7 @@ end2end-cmd = "cargo make test-ui" end2end-dir = "e2e" # The browserlist query used for optimizing the CSS. browserquery = "defaults" -# Set by cargo-leptos watch when building with tha tool. Controls whether autoreload JS will be included in the head +# Set by cargo-leptos watch when building with that tool. Controls whether autoreload JS will be included in the head watch = false # The environment Leptos will run in, usually either "DEV" or "PROD" env = "DEV" diff --git a/examples/todo_app_sqlite_csr/Cargo.toml b/examples/todo_app_sqlite_csr/Cargo.toml index b10978f71..f8b2dc3fe 100644 --- a/examples/todo_app_sqlite_csr/Cargo.toml +++ b/examples/todo_app_sqlite_csr/Cargo.toml @@ -70,7 +70,7 @@ end2end-cmd = "cargo make test-ui" end2end-dir = "e2e" # The browserlist query used for optimizing the CSS. browserquery = "defaults" -# Set by cargo-leptos watch when building with tha tool. Controls whether autoreload JS will be included in the head +# Set by cargo-leptos watch when building with that tool. Controls whether autoreload JS will be included in the head watch = false # The environment Leptos will run in, usually either "DEV" or "PROD" env = "DEV"