mirror of
https://github.com/adoyle0/leptos-use.git
synced 2025-01-23 09:09:21 -05:00
all example dependencies updated to leptos 0.7beta
This commit is contained in:
parent
554649aedc
commit
db95c7ab30
19 changed files with 21 additions and 21 deletions
|
@ -72,8 +72,8 @@ members = [
|
|||
exclude = ["ssr", "use_webtransport_with_server"]
|
||||
|
||||
[workspace.dependencies]
|
||||
leptos = { git = "https://github.com/leptos-rs/leptos" }
|
||||
codee = { version = "0.2" }
|
||||
leptos = "0.7.0-beta"
|
||||
codee = "0.2"
|
||||
console_error_panic_hook = "0.1"
|
||||
console_log = "1"
|
||||
log = "0.4"
|
||||
|
|
|
@ -12,7 +12,7 @@ codee.workspace = true
|
|||
console_error_panic_hook = "0.1"
|
||||
console_log = "1"
|
||||
cfg-if = "1"
|
||||
leptos = { git = "https://github.com/leptos-rs/leptos", features = ["nightly"] }
|
||||
leptos = { workspace = true, features = ["nightly"] }
|
||||
leptos_axum = { git = "https://github.com/leptos-rs/leptos", optional = true }
|
||||
leptos_meta = { git = "https://github.com/leptos-rs/leptos", features = [
|
||||
"nightly",
|
||||
|
|
|
@ -4,7 +4,7 @@ version = "0.1.0"
|
|||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
leptos = { git = "https://github.com/leptos-rs/leptos", features = [
|
||||
leptos = { workspace = true, features = [
|
||||
"nightly",
|
||||
"csr",
|
||||
] }
|
||||
|
|
|
@ -4,7 +4,7 @@ version = "0.1.0"
|
|||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
leptos = { git = "https://github.com/leptos-rs/leptos", features = [
|
||||
leptos = { workspace = true, features = [
|
||||
"nightly",
|
||||
"csr",
|
||||
] }
|
||||
|
|
|
@ -4,7 +4,7 @@ version = "0.1.0"
|
|||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
leptos = { git = "https://github.com/leptos-rs/leptos", features = [
|
||||
leptos = { workspace = true, features = [
|
||||
"nightly",
|
||||
"csr",
|
||||
] }
|
||||
|
|
|
@ -4,7 +4,7 @@ version = "0.1.0"
|
|||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
leptos = { git = "https://github.com/leptos-rs/leptos", features = [
|
||||
leptos = { workspace = true, features = [
|
||||
"nightly",
|
||||
"csr",
|
||||
] }
|
||||
|
|
|
@ -4,7 +4,7 @@ version = "0.1.0"
|
|||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
leptos = { git = "https://github.com/leptos-rs/leptos", features = [
|
||||
leptos = { workspace = true, features = [
|
||||
"nightly",
|
||||
"csr",
|
||||
] }
|
||||
|
|
|
@ -4,7 +4,7 @@ version = "0.1.0"
|
|||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
leptos = { git = "https://github.com/leptos-rs/leptos", features = [
|
||||
leptos = { workspace = true, features = [
|
||||
"nightly",
|
||||
"csr",
|
||||
] }
|
||||
|
|
|
@ -4,7 +4,7 @@ version = "0.1.0"
|
|||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
leptos = { git = "https://github.com/leptos-rs/leptos", features = [
|
||||
leptos = { workspace = true, features = [
|
||||
"nightly",
|
||||
"csr",
|
||||
] }
|
||||
|
|
|
@ -4,7 +4,7 @@ version = "0.1.0"
|
|||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
leptos = { git = "https://github.com/leptos-rs/leptos", features = [
|
||||
leptos = { workspace = true, features = [
|
||||
"nightly",
|
||||
"csr",
|
||||
] }
|
||||
|
|
|
@ -16,7 +16,7 @@ fn Demo() -> impl IntoView {
|
|||
<pre lang="json">
|
||||
coords:
|
||||
{move || {
|
||||
if let Some(coords) = coords() {
|
||||
if let Some(coords) = coords.get() {
|
||||
format!(
|
||||
r#"{{
|
||||
accuracy: {},
|
||||
|
@ -42,7 +42,7 @@ fn Demo() -> impl IntoView {
|
|||
,
|
||||
located_at: {located_at} ,
|
||||
error:
|
||||
{move || if let Some(error) = error() { error.message() } else { "None".to_string() }} ,
|
||||
{move || if let Some(error) = error.get() { error.message() } else { "None".to_string() }} ,
|
||||
</pre>
|
||||
<button on:click=move |_| pause()>"Pause watch"</button>
|
||||
<button on:click=move |_| resume()>"Resume watch"</button>
|
||||
|
|
|
@ -4,7 +4,7 @@ version = "0.1.0"
|
|||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
leptos = { git = "https://github.com/leptos-rs/leptos", features = [
|
||||
leptos = { workspace = true, features = [
|
||||
"nightly",
|
||||
"csr",
|
||||
] }
|
||||
|
|
|
@ -4,7 +4,7 @@ version = "0.1.0"
|
|||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
leptos = { git = "https://github.com/leptos-rs/leptos", features = [
|
||||
leptos = { workspace = true, features = [
|
||||
"nightly",
|
||||
"csr",
|
||||
] }
|
||||
|
|
|
@ -4,7 +4,7 @@ version = "0.1.0"
|
|||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
leptos = { git = "https://github.com/leptos-rs/leptos", features = [
|
||||
leptos = { workspace = true, features = [
|
||||
"nightly",
|
||||
"csr",
|
||||
] }
|
||||
|
|
|
@ -4,7 +4,7 @@ version = "0.1.0"
|
|||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
leptos = { git = "https://github.com/leptos-rs/leptos", features = [
|
||||
leptos = { workspace = true, features = [
|
||||
"nightly",
|
||||
"csr",
|
||||
] }
|
||||
|
|
|
@ -4,7 +4,7 @@ version = "0.1.0"
|
|||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
leptos = { git = "https://github.com/leptos-rs/leptos", features = [
|
||||
leptos = { workspace = true, features = [
|
||||
"nightly",
|
||||
"csr",
|
||||
] }
|
||||
|
|
|
@ -7,7 +7,7 @@ edition = "2021"
|
|||
codee = { workspace = true, features = ["json_serde"] }
|
||||
console_error_panic_hook = "0.1"
|
||||
console_log = "1"
|
||||
leptos = { git = "https://github.com/leptos-rs/leptos", features = [
|
||||
leptos = { workspace = true, features = [
|
||||
"nightly",
|
||||
"csr",
|
||||
] }
|
||||
|
|
|
@ -4,7 +4,7 @@ version = "0.1.0"
|
|||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
leptos = { git = "https://github.com/leptos-rs/leptos", features = [
|
||||
leptos = { workspace = true, features = [
|
||||
"nightly",
|
||||
"csr",
|
||||
] }
|
||||
|
|
|
@ -4,7 +4,7 @@ version = "0.1.0"
|
|||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
leptos = { git = "https://github.com/leptos-rs/leptos", features = [
|
||||
leptos = { workspace = true, features = [
|
||||
"nightly",
|
||||
"csr",
|
||||
] }
|
||||
|
|
Loading…
Add table
Reference in a new issue