mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
Add provide_context to router example
This commit is contained in:
parent
482c84dc73
commit
74b2889e8a
2 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,7 @@ leptos_router = { path = "../../router" }
|
|||
serde = { version = "1", features = ["derive"] }
|
||||
futures = "0.3"
|
||||
console_error_panic_hook = "0.1.7"
|
||||
leptos_meta = { path = "../../../leptos/meta", default-features = false }
|
||||
|
||||
[dev-dependencies]
|
||||
wasm-bindgen-test = "0.3.0"
|
||||
|
|
|
@ -2,6 +2,7 @@ mod api;
|
|||
|
||||
use api::{Contact, ContactSummary};
|
||||
use leptos::*;
|
||||
use leptos_meta::*;
|
||||
use leptos_router::*;
|
||||
|
||||
use crate::api::{get_contact, get_contacts};
|
||||
|
|
Loading…
Reference in a new issue