docs: add simple router book
This commit is contained in:
1 parent
673ea3280a
commit
7805b1ad63
9 files changed
+450
-4
No files matched your search
@@ -0,0 +1,10 @@
|
||||
# Dioxus Router: Introduction
|
||||
Whether or not you're building a website, desktop app, or mobile app, organizing your app's views into "pages" can be an effective method for organization and maintainability.
|
||||
|
||||
Dioxus comes with a router built-in. To start utilizing Dioxus Router, enable the ``router`` feature in your ``Cargo.toml`` file.
|
||||
```toml
|
||||
[dependencies]
|
||||
dioxus = { version = "x.x.x", features = [.., "router"] }
|
||||
```
|
||||
|
||||
In this book you'll find a short [guide](./guide/index.md) to get up to speed with Dioxus Router, as well as the router's [reference](./reference/index.md).
|
||||
Reference in new issue
Block a user