From 9620dc05af243fbfdecc7c278d1d56877d885a06 Mon Sep 17 00:00:00 2001 From: YuKun Liu Date: Thu, 10 Mar 2022 09:07:41 +0800 Subject: [PATCH] Change `trunk` to `dioxus-cli` --- docs/router/src/guide/getting-started.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/router/src/guide/getting-started.md b/docs/router/src/guide/getting-started.md index a63f430b2..2cf4ef047 100644 --- a/docs/router/src/guide/getting-started.md +++ b/docs/router/src/guide/getting-started.md @@ -2,9 +2,9 @@ Before we start utilizing Dioxus Router, we need to initialize a Dioxus web application. #### Required Tools -If you haven't already, make sure you install the [trunk](https://trunkrs.dev/) build tool and the rust ``wasm32-unknown-unknown`` target: +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: ``` -$ cargo install trunk +$ cargo install dioxus-cli ... $ rustup target add wasm32-unkown-unknown ... @@ -60,9 +60,9 @@ fn app(cx: Scope) -> Element { Our project is now setup! To make sure everything is running correctly, in the root of your project run: ``` -trunk serve +dioxus serve --platform web ``` Then head to [http://localhost:8080](http://localhost:8080) in your browser, and you should see ``Hello, wasm!`` on your screen. #### Conclusion -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. \ No newline at end of file +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.