Remove dioxus-lib, fix doc imports (#4438)
* remove dioxus lib * inline some doc items * fix tests * test docs * Fix doc tests * Pull out dioxus/lib feature * disable logger and devtools in library feature * fix cargo doc * fix cargo doc
This commit is contained in:
1 parent
4cb32d372b
commit
98f7667fb4
59 files changed
+216
-530
No files matched your search
@@ -1,13 +1,13 @@
|
||||
use crate::{GenericRouterContext, NavigationTarget, Routable, RoutingCallback};
|
||||
use dioxus_lib::core::Element;
|
||||
use dioxus_core::Element;
|
||||
use std::sync::Arc;
|
||||
|
||||
/// Global configuration options for the router.
|
||||
///
|
||||
/// This implements [`Default`] and follows the builder pattern, so you can use it like this:
|
||||
/// ```rust,no_run
|
||||
/// # use dioxus_router::prelude::*;
|
||||
/// # use dioxus::prelude::*;
|
||||
/// # use dioxus_router::RouterConfig;
|
||||
/// # #[component]
|
||||
/// # fn Index() -> Element {
|
||||
/// # VNode::empty()
|
||||
|
||||
Reference in new issue
Block a user