Fix the router and stub out a number of crates to get compiling

This commit is contained in:
Jonathan Kelley committed 2024-01-13 20:51:37 -08:00
1 parent 4c6e515da4
commit fae0b08e61
226 files changed
+1057 -1482

No files matched your search

+2 -2
View File
@@ -21,9 +21,9 @@ where
/// # use dioxus_router::prelude::*;
/// # use dioxus::prelude::*;
/// # #[component]
/// # fn Index(cx: Scope) -> Element { todo!() }
/// # fn Index() -> Element { todo!() }
/// # #[component]
/// # fn OtherPage(cx: Scope) -> Element { todo!() }
/// # fn OtherPage() -> Element { todo!() }
/// #[derive(Clone, Routable, Debug, PartialEq)]
/// enum Route {
/// #[route("/")]
+15 -15
View File
@@ -54,9 +54,9 @@ pub trait HistoryProvider<R: Routable> {
/// # use dioxus_router::prelude::*;
/// # use dioxus::prelude::*;
/// # #[component]
/// # fn Index(cx: Scope) -> Element { todo!() }
/// # fn Index() -> Element { todo!() }
/// # #[component]
/// # fn OtherPage(cx: Scope) -> Element { todo!() }
/// # fn OtherPage() -> Element { todo!() }
/// #[derive(Clone, Routable, Debug, PartialEq)]
/// enum Route {
/// #[route("/")]
@@ -90,10 +90,10 @@ pub trait HistoryProvider<R: Routable> {
///
/// ```rust
/// # use dioxus_router::prelude::*;
/// # use dioxus::prelude::*;
/// # use dioxus::prelude::*;
/// # #[component]
/// # fn Index(cx: Scope) -> Element { todo!() }
/// # fn Other(cx: Scope) -> Element { todo!() }
/// # fn Index() -> Element { todo!() }
/// # fn Other() -> Element { todo!() }
/// #[derive(Clone, Routable, Debug, PartialEq)]
/// enum Route {
/// #[route("/")]
@@ -121,9 +121,9 @@ pub trait HistoryProvider<R: Routable> {
/// # use dioxus_router::prelude::*;
/// # use dioxus::prelude::*;
/// # #[component]
/// # fn Index(cx: Scope) -> Element { todo!() }
/// # fn Index() -> Element { todo!() }
/// # #[component]
/// # fn OtherPage(cx: Scope) -> Element { todo!() }
/// # fn OtherPage() -> Element { todo!() }
/// #[derive(Clone, Routable, Debug, PartialEq)]
/// enum Route {
/// #[route("/")]
@@ -153,9 +153,9 @@ pub trait HistoryProvider<R: Routable> {
/// # use dioxus_router::prelude::*;
/// # use dioxus::prelude::*;
/// # #[component]
/// # fn Index(cx: Scope) -> Element { todo!() }
/// # fn Index() -> Element { todo!() }
/// # #[component]
/// # fn OtherPage(cx: Scope) -> Element { todo!() }
/// # fn OtherPage() -> Element { todo!() }
/// #[derive(Clone, Routable, Debug, PartialEq)]
/// enum Route {
/// #[route("/")]
@@ -186,9 +186,9 @@ pub trait HistoryProvider<R: Routable> {
/// # use dioxus_router::prelude::*;
/// # use dioxus::prelude::*;
/// # #[component]
/// # fn Index(cx: Scope) -> Element { todo!() }
/// # fn Index() -> Element { todo!() }
/// # #[component]
/// # fn OtherPage(cx: Scope) -> Element { todo!() }
/// # fn OtherPage() -> Element { todo!() }
/// #[derive(Clone, Routable, Debug, PartialEq)]
/// enum Route {
/// #[route("/")]
@@ -219,9 +219,9 @@ pub trait HistoryProvider<R: Routable> {
/// # use dioxus_router::prelude::*;
/// # use dioxus::prelude::*;
/// # #[component]
/// # fn Index(cx: Scope) -> Element { todo!() }
/// # fn Index() -> Element { todo!() }
/// # #[component]
/// # fn OtherPage(cx: Scope) -> Element { todo!() }
/// # fn OtherPage() -> Element { todo!() }
/// #[derive(Clone, Routable, Debug, PartialEq)]
/// enum Route {
/// #[route("/")]
@@ -248,9 +248,9 @@ pub trait HistoryProvider<R: Routable> {
/// # use dioxus_router::prelude::*;
/// # use dioxus::prelude::*;
/// # #[component]
/// # fn Index(cx: Scope) -> Element { todo!() }
/// # fn Index() -> Element { todo!() }
/// # #[component]
/// # fn OtherPage(cx: Scope) -> Element { todo!() }
/// # fn OtherPage() -> Element { todo!() }
/// #[derive(Clone, Routable, Debug, PartialEq)]
/// enum Route {
/// #[route("/")]