diff --git a/packages/autofmt/tests/wrong/multiexpr-many.rsx b/packages/autofmt/tests/wrong/multiexpr-many.rsx index 560f9d284..826e9ad27 100644 --- a/packages/autofmt/tests/wrong/multiexpr-many.rsx +++ b/packages/autofmt/tests/wrong/multiexpr-many.rsx @@ -8,7 +8,7 @@ use std::{ use tokio::time::sleep; fn main() { - dioxus::LaunchBuilder::desktop().launch(app); + dioxus::LaunchBuilder::desktop().launch(app); } struct WindowPreferences { diff --git a/packages/autofmt/tests/wrong/multiexpr-many.wrong.rsx b/packages/autofmt/tests/wrong/multiexpr-many.wrong.rsx index 2f541ad75..64921aa12 100644 --- a/packages/autofmt/tests/wrong/multiexpr-many.wrong.rsx +++ b/packages/autofmt/tests/wrong/multiexpr-many.wrong.rsx @@ -8,7 +8,7 @@ use std::{ use tokio::time::sleep; fn main() { - dioxus::LaunchBuilder::desktop().launch(app); + dioxus::LaunchBuilder::desktop().launch(app); } struct WindowPreferences { diff --git a/packages/desktop/README.md b/packages/desktop/README.md index 87ef10d82..ca07c3628 100644 --- a/packages/desktop/README.md +++ b/packages/desktop/README.md @@ -29,7 +29,7 @@ This requires that webview is installed on the target system. WebView is install ## Features -- Simple, one-linedioxus::launch for desktop apps +- Simple, one-line launch for desktop apps - Dioxus VirtualDom running on a native thread - Full HTML/CSS support via `wry` and `tao` - Exposed `window` and `Proxy` types from tao for direct window manipulation diff --git a/packages/desktop/src/readme.md b/packages/desktop/src/readme.md index ef9892e43..ff1c714a2 100644 --- a/packages/desktop/src/readme.md +++ b/packages/desktop/src/readme.md @@ -39,11 +39,11 @@ fn app() -> Element { div { "hello world!" } - }) + } } ``` -To configure the webview, menubar, and other important desktop-specific features, checkout out some of thedioxus::launch configuration in the [API reference](https://docs.rs/dioxus-desktop/). +To configure the webview, menubar, and other important desktop-specific features, checkout out some of the launch configuration in the [API reference](https://docs.rs/dioxus-desktop/). ## Future Steps diff --git a/packages/dioxus-lib/README.md b/packages/dioxus-lib/README.md index 934d3546c..f99293189 100644 --- a/packages/dioxus-lib/README.md +++ b/packages/dioxus-lib/README.md @@ -38,13 +38,13 @@ Remember: Dioxus is a library for declaring interactive user interfaces—it is All Dioxus apps are built by composing functions that return an `Element`. -Todioxus::launch an app, we use the `launch` method and use features in `Cargo.toml` to specify which renderer we want to use. In thedioxus::launch function, we pass the app's root `Component`. +To launch an app, we use the `launch` method and use features in `Cargo.toml` to specify which renderer we want to use. In the launch function, we pass the app's root `Component`. ```rust, no_run use dioxus::prelude::*; fn main() { - dioxus::launch(App); + dioxus::launch(App); } // The #[component] attribute streamlines component creation. @@ -239,7 +239,7 @@ Using components, templates, and hooks, we can build a simple app. use dioxus::prelude::*; fn main() { - dioxus::launch(App); + dioxus::launch(App); } #[component] diff --git a/packages/dioxus/README.md b/packages/dioxus/README.md index 1dfba6c72..661787275 100644 --- a/packages/dioxus/README.md +++ b/packages/dioxus/README.md @@ -36,13 +36,13 @@ Remember: Dioxus is a library for declaring interactive user interfaces—it is All Dioxus apps are built by composing functions that start with a capital letter and return an `Element`. -Todioxus::launch an app, we use the `launch` method and use features in `Cargo.toml` to specify which renderer we want to use. In thedioxus::launch function, we pass the app's root `Component`. +To launch an app, we use the `launch` method and use features in `Cargo.toml` to specify which renderer we want to use. In the launch function, we pass the app's root `Component`. ```rust, no_run use dioxus::prelude::*; fn main() { - dioxus::launch(App); + dioxus::launch(App); } // The #[component] attribute streamlines component creation. @@ -184,7 +184,7 @@ Using components, rsx, and hooks, we can build a simple app. use dioxus::prelude::*; fn main() { - dioxus::launch(App); + dioxus::launch(App); } #[component] diff --git a/packages/dioxus/src/launch.rs b/packages/dioxus/src/launch.rs index 48decee0f..4deb2287e 100644 --- a/packages/dioxus/src/launch.rs +++ b/packages/dioxus/src/launch.rs @@ -152,7 +152,7 @@ impl LaunchBuilder { /// } /// } /// - /// LaunchBuilder::custom(my_custom_launcher).launch(app); + /// dioxus::LaunchBuilder::custom(my_custom_launcher).launch(app); /// ``` pub fn custom(launch_fn: LaunchFn) -> LaunchBuilder { LaunchBuilder { diff --git a/packages/fullstack/README.md b/packages/fullstack/README.md index 94b3193c6..d094ea4e2 100644 --- a/packages/fullstack/README.md +++ b/packages/fullstack/README.md @@ -37,7 +37,7 @@ Full stack Dioxus in under 30 lines of code use dioxus::prelude::*; fn main() { - dioxus::launch(App); + dioxus::launch(App); } #[component] diff --git a/packages/rsx-hotreload/tests/valid/combo.new.rsx b/packages/rsx-hotreload/tests/valid/combo.new.rsx index 08f05294c..dd0a52e78 100644 --- a/packages/rsx-hotreload/tests/valid/combo.new.rsx +++ b/packages/rsx-hotreload/tests/valid/combo.new.rsx @@ -64,5 +64,5 @@ fn main() { // .set_max_level(tracing::Level::TRACE) // .build(), // ); - dioxus::launch(app); + dioxus::launch(app); } diff --git a/packages/rsx-hotreload/tests/valid/combo.old.rsx b/packages/rsx-hotreload/tests/valid/combo.old.rsx index d0914ed21..545490ede 100644 --- a/packages/rsx-hotreload/tests/valid/combo.old.rsx +++ b/packages/rsx-hotreload/tests/valid/combo.old.rsx @@ -53,5 +53,5 @@ fn main() { // .set_max_level(tracing::Level::TRACE) // .build(), // ); - dioxus::launch(app); + dioxus::launch(app); } diff --git a/packages/static-generation/README.md b/packages/static-generation/README.md index c557ef330..35c22661d 100644 --- a/packages/static-generation/README.md +++ b/packages/static-generation/README.md @@ -37,7 +37,7 @@ Full stack Dioxus in under 30 lines of code use dioxus::prelude::*; fn main() { - dioxus::launch(App); + dioxus::launch(App); } #[component]