You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/router/src/guide/getting-started.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,9 @@
2
2
Before we start utilizing Dioxus Router, we need to initialize a Dioxus web application.
3
3
4
4
#### Required Tools
5
-
If you haven't already, make sure you install the [trunk](https://trunkrs.dev/) build tool and the rust ``wasm32-unknown-unknown`` target:
5
+
If you haven't already, make sure you install the [dioxus-cli](https://dioxuslabs.com/nightly/cli/) build tool and the rust ``wasm32-unknown-unknown`` target:
6
6
```
7
-
$ cargo install trunk
7
+
$ cargo install dioxus-cli
8
8
...
9
9
$ rustup target add wasm32-unkown-unknown
10
10
...
@@ -60,9 +60,9 @@ fn app(cx: Scope) -> Element {
60
60
61
61
Our project is now setup! To make sure everything is running correctly, in the root of your project run:
62
62
```
63
-
trunk serve
63
+
dioxus serve --platform web
64
64
```
65
65
Then head to [http://localhost:8080](http://localhost:8080) in your browser, and you should see ``Hello, wasm!`` on your screen.
66
66
67
67
#### Conclusion
68
-
We setup a new project with Dioxus and got everything running correctly. Next we'll create a small homepage and start our journey with Dioxus Router.
68
+
We setup a new project with Dioxus and got everything running correctly. Next we'll create a small homepage and start our journey with Dioxus Router.
0 commit comments