From 31a68a9743351677dd32ca41998305dc96c68ad0 Mon Sep 17 00:00:00 2001 From: Jonathan Kelley Date: Tue, 18 Jul 2023 18:33:14 -0700 Subject: [PATCH] Rename dioxus to dx --- packages/cli/docs/src/cmd/build.md | 2 +- packages/cli/docs/src/cmd/clean.md | 2 +- packages/cli/docs/src/cmd/serve.md | 2 +- packages/cli/docs/src/creating.md | 2 +- packages/fullstack/examples/axum-auth/src/main.rs | 2 +- packages/fullstack/examples/axum-hello-world/src/main.rs | 2 +- packages/fullstack/examples/axum-router/src/main.rs | 2 +- packages/fullstack/examples/salvo-hello-world/src/main.rs | 2 +- packages/fullstack/examples/static-hydrated/src/main.rs | 2 +- packages/fullstack/examples/warp-hello-world/src/main.rs | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/cli/docs/src/cmd/build.md b/packages/cli/docs/src/cmd/build.md index ec067c774..6109d14f1 100644 --- a/packages/cli/docs/src/cmd/build.md +++ b/packages/cli/docs/src/cmd/build.md @@ -43,7 +43,7 @@ dx build --platform web You can add the `--bin` option to select which crate you want Dioxus to build: ``` -dioxus build --bin app +dx build --bin app ``` ## Build Example diff --git a/packages/cli/docs/src/cmd/clean.md b/packages/cli/docs/src/cmd/clean.md index c81f352e5..ef938d245 100644 --- a/packages/cli/docs/src/cmd/clean.md +++ b/packages/cli/docs/src/cmd/clean.md @@ -23,5 +23,5 @@ dx clean You can add the `--bin` option to select which crate you want Dioxus to clean artifacts from: ``` -dioxus clean --bin app +dx clean --bin app ``` diff --git a/packages/cli/docs/src/cmd/serve.md b/packages/cli/docs/src/cmd/serve.md index ccf70d310..d8b4e0d42 100644 --- a/packages/cli/docs/src/cmd/serve.md +++ b/packages/cli/docs/src/cmd/serve.md @@ -37,7 +37,7 @@ dx serve --exmaple test You can add the `--bin` option to select which crate you want Dioxus to build and serve: ``` -dioxus serve --bin app +dx serve --bin app ``` ## Open Browser diff --git a/packages/cli/docs/src/creating.md b/packages/cli/docs/src/creating.md index 95470827f..6c2d5754c 100644 --- a/packages/cli/docs/src/creating.md +++ b/packages/cli/docs/src/creating.md @@ -7,7 +7,7 @@ Once you have the Dioxus CLI tool installed, you can use it to create dioxus pro First, run the `dx create` command to create a new project ready to be used with Dioxus and the Dioxus CLI: ``` -dioxus create hello-dioxus +dx create hello-dioxus ``` > It will clone a default template from github template: [DioxusLabs/dioxus-template](https://github.com/DioxusLabs/dioxus-template) diff --git a/packages/fullstack/examples/axum-auth/src/main.rs b/packages/fullstack/examples/axum-auth/src/main.rs index 00ddb95f9..fe94c9628 100644 --- a/packages/fullstack/examples/axum-auth/src/main.rs +++ b/packages/fullstack/examples/axum-auth/src/main.rs @@ -1,7 +1,7 @@ //! Run with: //! //! ```sh -//! dioxus build --features web +//! dx build --features web //! cargo run --features ssr //! ``` diff --git a/packages/fullstack/examples/axum-hello-world/src/main.rs b/packages/fullstack/examples/axum-hello-world/src/main.rs index 739a24b1c..e00b9ae05 100644 --- a/packages/fullstack/examples/axum-hello-world/src/main.rs +++ b/packages/fullstack/examples/axum-hello-world/src/main.rs @@ -1,7 +1,7 @@ //! Run with: //! //! ```sh -//! dioxus build --features web +//! dx build --features web //! cargo run --features ssr //! ``` diff --git a/packages/fullstack/examples/axum-router/src/main.rs b/packages/fullstack/examples/axum-router/src/main.rs index f78904277..54ce11769 100644 --- a/packages/fullstack/examples/axum-router/src/main.rs +++ b/packages/fullstack/examples/axum-router/src/main.rs @@ -1,7 +1,7 @@ //! Run with: //! //! ```sh -//! dioxus build --features web +//! dx build --features web //! cargo run --features ssr //! ``` diff --git a/packages/fullstack/examples/salvo-hello-world/src/main.rs b/packages/fullstack/examples/salvo-hello-world/src/main.rs index 9e5649efc..bf6c2872a 100644 --- a/packages/fullstack/examples/salvo-hello-world/src/main.rs +++ b/packages/fullstack/examples/salvo-hello-world/src/main.rs @@ -1,7 +1,7 @@ //! Run with: //! //! ```sh -//! dioxus build --features web +//! dx build --features web //! cargo run --features ssr //! ``` diff --git a/packages/fullstack/examples/static-hydrated/src/main.rs b/packages/fullstack/examples/static-hydrated/src/main.rs index eedc0187e..f89b01cce 100644 --- a/packages/fullstack/examples/static-hydrated/src/main.rs +++ b/packages/fullstack/examples/static-hydrated/src/main.rs @@ -1,7 +1,7 @@ //! Run with: //! //! ```sh -//! dioxus build --features web +//! dx build --features web //! cargo run --features ssr //! ``` diff --git a/packages/fullstack/examples/warp-hello-world/src/main.rs b/packages/fullstack/examples/warp-hello-world/src/main.rs index 9e5649efc..bf6c2872a 100644 --- a/packages/fullstack/examples/warp-hello-world/src/main.rs +++ b/packages/fullstack/examples/warp-hello-world/src/main.rs @@ -1,7 +1,7 @@ //! Run with: //! //! ```sh -//! dioxus build --features web +//! dx build --features web //! cargo run --features ssr //! ```