diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 842b761bd..a82a03cd7 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -4,7 +4,7 @@ FROM rustlang/rust:${VARIANT} ENV DEBIAN_FRONTEND=noninteractive # Install required system libraries and NPM -# Reference: https://dioxuslabs.com/learn/0.6/contributing/#before-you-contribute +# Reference: https://dioxuslabs.com/learn/0.7/beyond/contributing#before-you-contribute RUN apt-get update -qq \ && apt-get install -y -qq \ libgdk3.0-cil \ diff --git a/README.md b/README.md index 893badd7b..4c4024540 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ | Examples | - Guide + Tutorial | 中文 | @@ -89,7 +89,7 @@ fn app() -> Element { - Built-in featureful, type-safe, fullstack web framework - Integrated bundler for deploying to the web, macOS, Linux, and Windows - Subsecond Rust hot-patching and asset hot-reloading -- And more! [Take a tour of Dioxus](https://dioxuslabs.com/learn/0.6/). +- And more! [Take a tour of Dioxus](https://dioxuslabs.com/learn/0.7/). ## Instant hot-reloading @@ -148,7 +148,7 @@ Dioxus is the fastest way to build native mobile apps with Rust. Simply run `dx ## Bundle for web, desktop, and mobile -Simply run `dx bundle` and your app will be built and bundled with maximization optimizations. On the web, take advantage of [`.avif` generation, `.wasm` compression, minification](https://dioxuslabs.com/learn/0.6/guides/assets), and more. Build WebApps weighing [less than 50kb](https://github.com/ealmloff/tiny-dioxus/) and desktop/mobile apps less than 5mb. +Simply run `dx bundle` and your app will be built and bundled with maximization optimizations. On the web, take advantage of [`.avif` generation, `.wasm` compression, minification](https://dioxuslabs.com/learn/0.7/tutorial/assets), and more. Build WebApps weighing [less than 50kb](https://github.com/ealmloff/tiny-dioxus/) and desktop/mobile apps less than 5mb.
@@ -157,7 +157,7 @@ Simply run `dx bundle` and your app will be built and bundled with maximization ## Fantastic documentation -We've put a ton of effort into building clean, readable, and comprehensive documentation. All html elements and listeners are documented with MDN docs, and our Docs runs continuous integration with Dioxus itself to ensure that the docs are always up to date. Check out the [Dioxus website](https://dioxuslabs.com/learn/0.6/) for guides, references, recipes, and more. Fun fact: we use the Dioxus website as a testbed for new Dioxus features - [check it out!](https://github.com/dioxusLabs/docsite) +We've put a ton of effort into building clean, readable, and comprehensive documentation. All html elements and listeners are documented with MDN docs, and our Docs runs continuous integration with Dioxus itself to ensure that the docs are always up to date. Check out the [Dioxus website](https://dioxuslabs.com/learn/0.7/) for guides, references, recipes, and more. Fun fact: we use the Dioxus website as a testbed for new Dioxus features - [check it out!](https://github.com/dioxusLabs/docsite)
@@ -257,7 +257,7 @@ cargo run --example However, we encourage you to download the dioxus-cli to test out features like hot-reloading. To install the most recent binary CLI, you can use cargo binstall. ```sh -cargo binstall dioxus-cli@0.7.0-rc.4 --force +cargo binstall dioxus-cli@0.7.0 --force ``` If this CLI is out-of-date, you can install it directly from git @@ -274,7 +274,7 @@ dx serve --example --platform web -- --no-default-features ## Contributing -- Check out the website [section on contributing](https://dioxuslabs.com/learn/0.6/contributing). +- Check out the website [section on contributing](https://dioxuslabs.com/learn/0.7/beyond/contributing). - Report issues on our [issue tracker](https://github.com/dioxuslabs/dioxus/issues). - [Join](https://discord.gg/XgGxMSkvUM) the discord and ask questions! diff --git a/examples/10-integrations/tailwind/README.md b/examples/10-integrations/tailwind/README.md index 6206f2845..ca7b4c1c5 100644 --- a/examples/10-integrations/tailwind/README.md +++ b/examples/10-integrations/tailwind/README.md @@ -4,6 +4,6 @@ This example shows how an app might be styled with TailwindCSS. ## Running -Our [Tailwind](https://dioxuslabs.com/learn/0.6/cookbook/tailwind) guide explains how to setup and run Dioxus-Tailwind projects. +Our [Tailwind](https://dioxuslabs.com/learn/0.7/guides/utilities/tailwind) guide explains how to setup and run Dioxus-Tailwind projects. Note that in Dioxus 0.7, the Tailwind watcher is initialized automatically if a `tailwind.css` file is find in your app's root. diff --git a/packages/autofmt/README.md b/packages/autofmt/README.md index 4236eef15..2ddccd512 100644 --- a/packages/autofmt/README.md +++ b/packages/autofmt/README.md @@ -15,7 +15,7 @@ [discord-url]: https://discord.gg/XgGxMSkvUM [Website](https://dioxuslabs.com) | -[Guides](https://dioxuslabs.com/learn/0.6) | +[Guides](https://dioxuslabs.com/learn/0.7/) | [API Docs](https://docs.rs/dioxus-autofmt/latest/dioxus_autofmt) | [Chat](https://discord.gg/XgGxMSkvUM) diff --git a/packages/check/README.md b/packages/check/README.md index e735e7d5c..244b1b257 100644 --- a/packages/check/README.md +++ b/packages/check/README.md @@ -15,13 +15,13 @@ [discord-url]: https://discord.gg/XgGxMSkvUM [Website](https://dioxuslabs.com) | -[Guides](https://dioxuslabs.com/learn/0.6) | +[Guides](https://dioxuslabs.com/learn/0.7/) | [API Docs](https://docs.rs/dioxus-check) | [Chat](https://discord.gg/XgGxMSkvUM) ## Overview -`dioxus-check` analyzes Dioxus source code and reports errors and warnings. Primarily, it enforces the [Rules of Hooks](https://dioxuslabs.com/learn/0.6/reference/hooks#rules-of-hooks). +`dioxus-check` analyzes Dioxus source code and reports errors and warnings. Primarily, it enforces the [Rules of Hooks](https://dioxuslabs.com/learn/0.7/essentials/basics/hooks#rules-of-hooks). ## Contributing diff --git a/packages/check/src/issues.rs b/packages/check/src/issues.rs index bc33a9275..7e39d17ba 100644 --- a/packages/check/src/issues.rs +++ b/packages/check/src/issues.rs @@ -162,11 +162,11 @@ impl Display for IssueReport { #[allow(clippy::enum_variant_names)] // we'll add non-hook ones in the future /// Issues that might be found via static analysis of a Dioxus file. pub enum Issue { - /// + /// HookInsideConditional(HookInfo, ConditionalInfo), - /// + /// HookInsideLoop(HookInfo, AnyLoopInfo), - /// + /// HookInsideClosure(HookInfo, ClosureInfo), HookInsideAsync(HookInfo, AsyncInfo), HookOutsideComponent(HookInfo), diff --git a/packages/cli/src/cli/doctor.rs b/packages/cli/src/cli/doctor.rs index 8008bbb52..db8c9ac93 100644 --- a/packages/cli/src/cli/doctor.rs +++ b/packages/cli/src/cli/doctor.rs @@ -252,7 +252,7 @@ impl Doctor { {HINT_STYLE}{has_aarch64_apple_darwin}{HINT_STYLE:#} aarch64-apple-darwin {HINT_STYLE}(iOS){HINT_STYLE:#} Get help: {LINK_STYLE}https://discord.gg/XgGxMSkvUM{LINK_STYLE:#} -More info: {LINK_STYLE}https://dioxuslabs.com/learn/0.6/{LINK_STYLE:#} +More info: {LINK_STYLE}https://dioxuslabs.com/learn/0.7/{LINK_STYLE:#} "# ); diff --git a/packages/config-macro/README.md b/packages/config-macro/README.md index 39ca7e98d..d239e6674 100644 --- a/packages/config-macro/README.md +++ b/packages/config-macro/README.md @@ -15,7 +15,7 @@ [discord-url]: https://discord.gg/XgGxMSkvUM [Website](https://dioxuslabs.com) | -[Guide](https://dioxuslabs.com/learn/0.6) | +[Guide](https://dioxuslabs.com/learn/0.7/) | [API Docs](https://docs.rs/dioxus-config-macro/latest/dioxus_config_macro/) | [Chat](https://discord.gg/XgGxMSkvUM) diff --git a/packages/core-macro/README.md b/packages/core-macro/README.md index 7a7d1639a..527cf0c95 100644 --- a/packages/core-macro/README.md +++ b/packages/core-macro/README.md @@ -15,7 +15,7 @@ [discord-url]: https://discord.gg/XgGxMSkvUM [Website](https://dioxuslabs.com) | -[Guides](https://dioxuslabs.com/learn/0.6) | +[Guides](https://dioxuslabs.com/learn/0.7/) | [API Docs](https://docs.rs/dioxus-core-macro/latest/dioxus_core_macro) | [Chat](https://discord.gg/XgGxMSkvUM) diff --git a/packages/core-macro/src/props/mod.rs b/packages/core-macro/src/props/mod.rs index eb4463d58..31b62945c 100644 --- a/packages/core-macro/src/props/mod.rs +++ b/packages/core-macro/src/props/mod.rs @@ -1066,7 +1066,7 @@ Finally, call `.build()` to create the instance of `{name}`. name: field_name, .. } = field; if *field_name == "key" { - return Err(Error::new_spanned(field_name, "Naming a prop `key` is not allowed because the name can conflict with the built in key attribute. See https://dioxuslabs.com/learn/0.6/reference/dynamic_rendering#rendering-lists for more information about keys")); + return Err(Error::new_spanned(field_name, "Naming a prop `key` is not allowed because the name can conflict with the built in key attribute. See https://dioxuslabs.com/learn/0.7/essentials/ui/iteration for more information about keys")); } let StructInfo { ref builder_name, .. diff --git a/packages/core/README.md b/packages/core/README.md index ae568c14d..ad265689d 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -80,7 +80,7 @@ fn main() { ## Contributing -- Check out the website [section on contributing](https://dioxuslabs.com/learn/0.6/contributing). +- Check out the website [section on contributing](https://dioxuslabs.com/learn/0.7/contributing). - Report issues on our [issue tracker](https://github.com/dioxuslabs/dioxus/issues). - [Join](https://discord.gg/XgGxMSkvUM) the discord and ask questions! diff --git a/packages/desktop/Cargo.toml b/packages/desktop/Cargo.toml index 4706e09b8..715c379f2 100644 --- a/packages/desktop/Cargo.toml +++ b/packages/desktop/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" description = "WebView renderer for Dioxus" license = "MIT OR Apache-2.0" repository = "https://github.com/DioxusLabs/dioxus/" -homepage = "https://dioxuslabs.com/learn/0.6/getting_started" +homepage = "https://dioxuslabs.com/learn/0.7/getting_started" keywords = ["dom", "ui", "gui", "react"] rust-version = "1.76.0" diff --git a/packages/desktop/README.md b/packages/desktop/README.md index cebf39cbc..cd7aae6ae 100644 --- a/packages/desktop/README.md +++ b/packages/desktop/README.md @@ -15,7 +15,7 @@ [discord-url]: https://discord.gg/XgGxMSkvUM [Website](https://dioxuslabs.com) | -[Guides](https://dioxuslabs.com/learn/0.6) | +[Guides](https://dioxuslabs.com/learn/0.7/) | [API Docs](https://docs.rs/dioxus-desktop/latest/dioxus_desktop) | [Chat](https://discord.gg/XgGxMSkvUM) @@ -25,7 +25,7 @@ This requires that webview is installed on the target system. WebView is installed by default on macOS and iOS devices, but might not come preinstalled on Windows or Linux devices. To fix these issues, follow the [instructions in the guide](guide-url). -[guide-url]: https://dioxuslabs.com/learn/0.6/getting_started +[guide-url]: https://dioxuslabs.com/learn/0.7/getting_started ## Features diff --git a/packages/desktop/src/readme.md b/packages/desktop/src/readme.md index 2cd1809dd..a4cf9d4bf 100644 --- a/packages/desktop/src/readme.md +++ b/packages/desktop/src/readme.md @@ -47,4 +47,4 @@ To configure the webview, menubar, and other important desktop-specific features ## Future Steps -Make sure to read the [Dioxus Guide](https://dioxuslabs.com/learn/0.6/) if you already haven't! +Make sure to read the [Dioxus Guide](https://dioxuslabs.com/learn/0.7/) if you already haven't! diff --git a/packages/dioxus/README.md b/packages/dioxus/README.md index b0a8eec42..e0799642c 100644 --- a/packages/dioxus/README.md +++ b/packages/dioxus/README.md @@ -6,7 +6,7 @@ class="darkmode-image" >
@@ -156,7 +156,7 @@ fn Header(title: String, color: String) -> Element { } ``` -> You can read more about props in the [reference](https://dioxuslabs.com/learn/0.6/reference/component_props). +> You can read more about props in the [reference](https://dioxuslabs.com/learn/0.7/essentials/ui/components). ## Hooks @@ -176,7 +176,7 @@ fn App() -> Element { } ``` -Hooks are sensitive to how they are used. To use hooks, you must abide by the ["rules of hooks"](https://dioxuslabs.com/learn/0.6/reference/hooks#rules-of-hooks): +Hooks are sensitive to how they are used. To use hooks, you must abide by the ["rules of hooks"](https://dioxuslabs.com/learn/0.7/reference/hooks#rules-of-hooks): - Hooks can only be called in the body of a component or another hook. Not inside of another expression like a loop, conditional or function call. - Hooks should start with "use\_" @@ -210,7 +210,7 @@ fn App() -> Element { ## Conclusion -This overview doesn't cover everything. Make sure to check out the [tutorial](https://dioxuslabs.com/learn/0.6/guide) and [guides](https://dioxuslabs.com/learn/0.6/guides) on the official +This overview doesn't cover everything. Make sure to check out the [tutorial](https://dioxuslabs.com/learn/0.7/tutorial) and [guides](https://dioxuslabs.com/learn/0.7/tutorial) on the official website for more details. Beyond this overview, Dioxus supports: diff --git a/packages/dioxus/src/lib.rs b/packages/dioxus/src/lib.rs index 9199e75ae..7c4f625c6 100644 --- a/packages/dioxus/src/lib.rs +++ b/packages/dioxus/src/lib.rs @@ -9,7 +9,7 @@ //! - `html`: (default) exports `dioxus-html` as the default elements to use in rsx //! - `hooks`: (default) re-exports `dioxus-hooks` //! - `hot-reload`: (default) enables hot rsx reloading in all renderers that support it -//! - `router`: exports the [router](https://dioxuslabs.com/learn/0.6/router) and enables any router features for the current platform +//! - `router`: exports the [router](https://dioxuslabs.com/learn/0.7/router) and enables any router features for the current platform //! - `third-party-renderer`: Just disables warnings about no active platform when no renderers are enabled //! - `logger`: Enable the default tracing subscriber for Dioxus apps //! diff --git a/packages/dx-wire-format/Cargo.toml b/packages/dx-wire-format/Cargo.toml index 3342c2cb5..58fd9152f 100644 --- a/packages/dx-wire-format/Cargo.toml +++ b/packages/dx-wire-format/Cargo.toml @@ -7,7 +7,7 @@ authors = ["Jonathan Kelley"] description = "Wire format for the Dioxus CLI" license = "MIT OR Apache-2.0" repository = "https://github.com/DioxusLabs/dioxus/" -homepage = "https://dioxuslabs.com/learn/0.6/" +homepage = "https://dioxuslabs.com/learn/0.7/" keywords = ["dom", "ui", "gui", "react", "wasm"] rust-version = "1.79.0" diff --git a/packages/extension/README.md b/packages/extension/README.md index def7ff232..f7e455083 100644 --- a/packages/extension/README.md +++ b/packages/extension/README.md @@ -33,11 +33,11 @@ Formats the current file as RSX. This overview provides a brief introduction to Dioxus. For a more in-depth guide, make sure to check out: -- [Getting Started](https://dioxuslabs.com/learn/0.6/getting_started) -- [Book (0.6)](https://dioxuslabs.com/learn/0.6) +- [Getting Started](https://dioxuslabs.com/learn/0.7/getting_started) +- [Book (0.6)](https://dioxuslabs.com/learn/0.7/) ## Contributing -- Check out the website [section on contributing](https://dioxuslabs.com/learn/0.6/contributing). +- Check out the website [section on contributing](https://dioxuslabs.com/learn/0.7/contributing). - Report issues on our [issue tracker](https://github.com/dioxuslabs/dioxus/issues). - [Join](https://discord.gg/XgGxMSkvUM) the discord and ask questions! diff --git a/packages/fullstack-server/README.md b/packages/fullstack-server/README.md index 4ff42efa3..33217703a 100644 --- a/packages/fullstack-server/README.md +++ b/packages/fullstack-server/README.md @@ -15,7 +15,7 @@ [discord-url]: https://discord.gg/XgGxMSkvUM [Website](https://dioxuslabs.com) | -[Guides](https://dioxuslabs.com/learn/0.6/) | +[Guides](https://dioxuslabs.com/learn/0.7/) | [API Docs](https://docs.rs/dioxus-fullstack/latest/dioxus_fullstack/) | [Chat](https://discord.gg/XgGxMSkvUM) @@ -128,7 +128,7 @@ async fn get_meaning(of: String) -> ServerFnResult> { ## Getting Started -To get started with full stack Dioxus, check out our [getting started guide](https://dioxuslabs.com/learn/0.6/getting_started), or the [full stack examples](https://github.com/DioxusLabs/dioxus/tree/master/examples). +To get started with full stack Dioxus, check out our [getting started guide](https://dioxuslabs.com/learn/0.7/getting_started), or the [full stack examples](https://github.com/DioxusLabs/dioxus/tree/master/examples). ## Contributing diff --git a/packages/hooks/README.md b/packages/hooks/README.md index 2e944d095..5802197df 100644 --- a/packages/hooks/README.md +++ b/packages/hooks/README.md @@ -15,7 +15,7 @@ [discord-url]: https://discord.gg/XgGxMSkvUM [Website](https://dioxuslabs.com) | -[Guides](https://dioxuslabs.com/learn/0.6/) | +[Guides](https://dioxuslabs.com/learn/0.7/) | [API Docs](https://docs.rs/dioxus-hooks/latest/dioxus_hooks) | [Chat](https://discord.gg/XgGxMSkvUM) @@ -29,7 +29,7 @@ - use_memo - use_coroutine -Unlike React, none of these hooks are foundational since they all build off the primitive `use_hook`. You can extend these hooks with [custom hooks](https://dioxuslabs.com/learn/0.6/cookbook/state/custom_hooks) in your own code. If you think they would be useful for the broader community, you can open a PR to add your hook to the [Dioxus Awesome](https://github.com/DioxusLabs/awesome-dioxus) list. +Unlike React, none of these hooks are foundational since they all build off the primitive `use_hook`. You can extend these hooks with [custom hooks](https://dioxuslabs.com/learn/0.7/essentials/advanced/custom_hooks) in your own code. If you think they would be useful for the broader community, you can open a PR to add your hook to the [Dioxus Awesome](https://github.com/DioxusLabs/awesome-dioxus) list. ## State Cheat Sheet @@ -62,7 +62,7 @@ The core hooks library doesn't provide hooks for persistent state, but you can e | State | Sharable | Example | | ---------------------------------------------------------------------------------- | -------- | ------------------------------------------------------------------------------------------------- | | [`use_persistent`](https://github.com/DioxusLabs/sdk/tree/master/examples/storage) | ❌ | `use_persistent("unique_key", move \|\| initial_state)` | -| [`Router {}`](https://dioxuslabs.com/learn/0.6/router) | ✅ | `#[derive(Routable, Clone, PartialEq)] enum Route { #[route("/user/:id")] Homepage { id: u32 } }` | +| [`Router {}`](https://dioxuslabs.com/learn/0.7/router) | ✅ | `#[derive(Routable, Clone, PartialEq)] enum Route { #[route("/user/:id")] Homepage { id: u32 } }` | ## Contributing diff --git a/packages/hooks/docs/moving_state_around.md b/packages/hooks/docs/moving_state_around.md index b2b47afcc..56fe7040c 100644 --- a/packages/hooks/docs/moving_state_around.md +++ b/packages/hooks/docs/moving_state_around.md @@ -3,7 +3,7 @@ You will often need to move state around between your components. Dioxus provides three different ways to pass around state: -1. Just pass your values as [props](https://dioxuslabs.com/learn/0.6/reference/component_props): +1. Just pass your values as [props](https://dioxuslabs.com/learn/0.7/reference/component_props): ```rust # use dioxus::prelude::*; @@ -30,7 +30,7 @@ fn IncrementButton(mut count: Signal) -> Element { This is the most common way to pass state around. It is the most explicit and local to your component. Use this when it isn't overly annoying to pass around a value. -2. Use [use_context](https://dioxuslabs.com/learn/0.6/reference/context) to pass state from a parent component to all children: +2. Use [use_context](https://dioxuslabs.com/learn/0.7/reference/context) to pass state from a parent component to all children: ```rust # use dioxus::prelude::*; diff --git a/packages/html/README.md b/packages/html/README.md index 167d60764..5c89e092a 100644 --- a/packages/html/README.md +++ b/packages/html/README.md @@ -15,7 +15,7 @@ [discord-url]: https://discord.gg/XgGxMSkvUM [Website](https://dioxuslabs.com) | -[Guides](https://dioxuslabs.com/learn/0.6/) | +[Guides](https://dioxuslabs.com/learn/0.7/) | [API Docs](https://docs.rs/dioxus-html/latest/dioxus_html) | [Chat](https://discord.gg/XgGxMSkvUM) diff --git a/packages/interpreter/README.md b/packages/interpreter/README.md index 8778e18fe..1cebd9d44 100644 --- a/packages/interpreter/README.md +++ b/packages/interpreter/README.md @@ -15,7 +15,7 @@ [discord-url]: https://discord.gg/XgGxMSkvUM [Website](https://dioxuslabs.com) | -[Guides](https://dioxuslabs.com/learn/0.6/) | +[Guides](https://dioxuslabs.com/learn/0.7/) | [API Docs](https://docs.rs/dioxus-interpreter-js/latest/dioxus_interpreter_js) | [Chat](https://discord.gg/XgGxMSkvUM) diff --git a/packages/liveview/Cargo.toml b/packages/liveview/Cargo.toml index 4a8cc9c98..6fcee197a 100644 --- a/packages/liveview/Cargo.toml +++ b/packages/liveview/Cargo.toml @@ -3,7 +3,7 @@ name = "dioxus-liveview" version = { workspace = true } edition = "2021" repository = "https://github.com/DioxusLabs/dioxus/" -homepage = "https://dioxuslabs.com/learn/0.6/getting_started" +homepage = "https://dioxuslabs.com/learn/0.7/getting_started" keywords = ["dom", "ui", "gui", "react", "liveview"] description = "Build server-side apps with Dioxus" authors = ["Jonathan Kelley", "Evan Almloff"] diff --git a/packages/liveview/README.md b/packages/liveview/README.md index 9bc987a37..158524ef1 100644 --- a/packages/liveview/README.md +++ b/packages/liveview/README.md @@ -15,7 +15,7 @@ [discord-url]: https://discord.gg/XgGxMSkvUM [Website](https://dioxuslabs.com) | -[Guides](https://dioxuslabs.com/learn/0.6/) | +[Guides](https://dioxuslabs.com/learn/0.7/) | [API Docs](https://docs.rs/dioxus-liveview/latest/dioxus_liveview) | [Chat](https://discord.gg/XgGxMSkvUM) diff --git a/packages/native-dom/Cargo.toml b/packages/native-dom/Cargo.toml index e0a320d0d..bb0e6592e 100644 --- a/packages/native-dom/Cargo.toml +++ b/packages/native-dom/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" description = "Core headless native renderer for Dioxus based on blitz" license = "MIT OR Apache-2.0" repository = "https://github.com/DioxusLabs/dioxus/" -homepage = "https://dioxuslabs.com/learn/0.6/getting_started" +homepage = "https://dioxuslabs.com/learn/0.7/getting_started" keywords = ["dom", "ui", "gui", "react"] [features] diff --git a/packages/native/Cargo.toml b/packages/native/Cargo.toml index 1da72434e..9a283a297 100644 --- a/packages/native/Cargo.toml +++ b/packages/native/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" description = "Native renderer for Dioxus based on blitz" license = "MIT OR Apache-2.0" repository = "https://github.com/DioxusLabs/dioxus/" -homepage = "https://dioxuslabs.com/learn/0.6/getting_started" +homepage = "https://dioxuslabs.com/learn/0.7/getting_started" keywords = ["dom", "ui", "gui", "react"] [features] diff --git a/packages/playwright-tests/barebones-template/src/main.rs b/packages/playwright-tests/barebones-template/src/main.rs index 459331491..ba759eee2 100644 --- a/packages/playwright-tests/barebones-template/src/main.rs +++ b/packages/playwright-tests/barebones-template/src/main.rs @@ -25,7 +25,7 @@ pub fn Hero() -> Element { id: "hero", img { src: HEADER_SVG, id: "header" } div { id: "links", - a { href: "https://dioxuslabs.com/learn/0.6/", "📚 Learn Dioxus" } + a { href: "https://dioxuslabs.com/learn/0.7/", "📚 Learn Dioxus" } a { href: "https://dioxuslabs.com/awesome", "🚀 Awesome Dioxus" } a { href: "https://github.com/dioxus-community/", "📡 Community Libraries" } a { href: "https://github.com/DioxusLabs/sdk", "⚙️ Dioxus Development Kit" } diff --git a/packages/router/README.md b/packages/router/README.md index 0d73931f3..a047533fc 100644 --- a/packages/router/README.md +++ b/packages/router/README.md @@ -15,7 +15,7 @@ [discord-url]: https://discord.gg/XgGxMSkvUM [Website](https://dioxuslabs.com) | -[Guides](https://dioxuslabs.com/learn/0.6/router/) | +[Guides](https://dioxuslabs.com/learn/0.7/router/) | [API Docs](https://docs.rs/dioxus-router/latest/dioxus_router) | [Chat](https://discord.gg/XgGxMSkvUM) diff --git a/packages/rsx-rosetta/README.md b/packages/rsx-rosetta/README.md index 67aabbe75..6e1289388 100644 --- a/packages/rsx-rosetta/README.md +++ b/packages/rsx-rosetta/README.md @@ -15,7 +15,7 @@ [discord-url]: https://discord.gg/XgGxMSkvUM [Website](https://dioxuslabs.com) | -[Guides](https://dioxuslabs.com/learn/0.6/) | +[Guides](https://dioxuslabs.com/learn/0.7/) | [API Docs](https://docs.rs/rsx-rosetta/latest/rsx-rosetta) | [Chat](https://discord.gg/XgGxMSkvUM) diff --git a/packages/rsx/README.md b/packages/rsx/README.md index e50613754..c5a3e16bf 100644 --- a/packages/rsx/README.md +++ b/packages/rsx/README.md @@ -15,7 +15,7 @@ [discord-url]: https://discord.gg/XgGxMSkvUM [Website](https://dioxuslabs.com) | -[Guides](https://dioxuslabs.com/learn/0.6/) | +[Guides](https://dioxuslabs.com/learn/0.7/) | [API Docs](https://docs.rs/dioxus-rsx/latest/dioxus_rsx) | [Chat](https://discord.gg/XgGxMSkvUM) diff --git a/packages/ssr/README.md b/packages/ssr/README.md index 5290fa688..20ca1ec7f 100644 --- a/packages/ssr/README.md +++ b/packages/ssr/README.md @@ -9,8 +9,8 @@ This crate is a part of the broader Dioxus ecosystem. For more resources about Dioxus, check out: -- [Getting Started](https://dioxuslabs.com/learn/0.6/getting_started) -- [Book](https://dioxuslabs.com/learn/0.6/) +- [Getting Started](https://dioxuslabs.com/learn/0.7/getting_started) +- [Book](https://dioxuslabs.com/learn/0.7/) - [Examples](https://github.com/DioxusLabs/dioxus/tree/main/examples) ## Overview diff --git a/packages/web/Cargo.toml b/packages/web/Cargo.toml index 1c9194c2d..3cd295dc2 100644 --- a/packages/web/Cargo.toml +++ b/packages/web/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" description = "Web-sys renderer for Dioxus: Build fullstack web, desktop, and mobile apps with a single codebase." license = "MIT OR Apache-2.0" repository = "https://github.com/DioxusLabs/dioxus/" -homepage = "https://dioxuslabs.com/learn/0.6/getting_started" +homepage = "https://dioxuslabs.com/learn/0.7/getting_started" keywords = ["dom", "ui", "gui", "web", "wasm"] [dependencies] diff --git a/packages/web/README.md b/packages/web/README.md index 29f32b334..ac79c7b56 100644 --- a/packages/web/README.md +++ b/packages/web/README.md @@ -15,7 +15,7 @@ [discord-url]: https://discord.gg/XgGxMSkvUM [Website](https://dioxuslabs.com) | -[Guides](https://dioxuslabs.com/learn/0.6/) | +[Guides](https://dioxuslabs.com/learn/0.7/) | [API Docs](https://docs.rs/dioxus-web/latest/dioxus_web) | [Chat](https://discord.gg/XgGxMSkvUM) diff --git a/translations/fa-ir/README.md b/translations/fa-ir/README.md index 95c3d0775..60823cfd0 100644 --- a/translations/fa-ir/README.md +++ b/translations/fa-ir/README.md @@ -45,7 +45,7 @@ | Examples | - Guide + Guide | 中文 | @@ -91,7 +91,7 @@ fn app() -> Element { - [مدیریت وضعیت ارگونومیک](https://dioxuslabs.com/blog/release-050) با ترکیب بهترین ویژگی‌های React، Solid و Svelte. - عملکرد فوق‌العاده با سریع‌ترین فریمورک wasm (WebAssembly) در Rust [sledgehammer](https://dioxuslabs.com/blog/templates-diffing). - بسته‌بندی یکپارچه برای انتشار در وب، macOS، Linux و Windows (با دستور `dx bundle` به‌سادگی قابل انجام است). -- و موارد بیشتر! گشتی بزنید -> [تور Dioxus](https://dioxuslabs.com/learn/0.6/). +- و موارد بیشتر! گشتی بزنید -> [تور Dioxus](https://dioxuslabs.com/learn/0.7/). ## بارگذاری مجدد (hot-reloading) آنی @@ -103,7 +103,7 @@ fn app() -> Element { ## بسته‌بندی برای وب و دسکتاپ -تنها با اجرای دستور `dx bundle` برنامه شما با حداکثر بهینه‌سازی کامپایل و بسته‌بندی می‌شود. از قابلیت‌های ایجاد فایل‌های [`.avif`، فشرده‌سازی `.wasm` و کوچک‌سازی](https://dioxuslabs.com/learn/0.6/guides/assets) و موارد بیشتر بهره‌مند شوید. برنامه‌های سبک وب (کمتر از [50kb](https://github.com/ealmloff/tiny-dioxus/)) و برنامه‌های دسکتاپ/موبایل با حجم کمتر از 15mb تولید کنید. +تنها با اجرای دستور `dx bundle` برنامه شما با حداکثر بهینه‌سازی کامپایل و بسته‌بندی می‌شود. از قابلیت‌های ایجاد فایل‌های [`.avif`، فشرده‌سازی `.wasm` و کوچک‌سازی](https://dioxuslabs.com/learn/0.7/tutorial/assets) و موارد بیشتر بهره‌مند شوید. برنامه‌های سبک وب (کمتر از [50kb](https://github.com/ealmloff/tiny-dioxus/)) و برنامه‌های دسکتاپ/موبایل با حجم کمتر از 15mb تولید کنید.
بسته‌بندی برنامه @@ -111,7 +111,7 @@ fn app() -> Element { ## مستندات فوق‌العاده -ما زمان زیادی صرف کردیم تا مستنداتی واضح، خوانا و جامع ارائه دهیم. تمامی عناصر HTML و لیسنرها (listeners) با استفاده از MDN مستند شده‌اند ([برای جزئیات بیشتر کلیک کنید](https://developer.mozilla.org)) و برای به‌روز بودن، مستندات با خود Dioxus به‌صورت مداوم ادغام می‌شوند. برای راهنماها، مرجع‌ها، آموزش‌ها و موارد بیشتر به [وبسایت Dioxus](https://dioxuslabs.com/learn/0.6/) سر بزنید. نکته جالب: ما از وبسایت Dioxus به‌عنوان آزمایشگاهی برای تست ویژگی‌های جدید استفاده می‌کنیم -> [مشاهده کنید!](https://github.com/dioxusLabs/docsite). +ما زمان زیادی صرف کردیم تا مستنداتی واضح، خوانا و جامع ارائه دهیم. تمامی عناصر HTML و لیسنرها (listeners) با استفاده از MDN مستند شده‌اند ([برای جزئیات بیشتر کلیک کنید](https://developer.mozilla.org)) و برای به‌روز بودن، مستندات با خود Dioxus به‌صورت مداوم ادغام می‌شوند. برای راهنماها، مرجع‌ها، آموزش‌ها و موارد بیشتر به [وبسایت Dioxus](https://dioxuslabs.com/learn/0.7/) سر بزنید. نکته جالب: ما از وبسایت Dioxus به‌عنوان آزمایشگاهی برای تست ویژگی‌های جدید استفاده می‌کنیم -> [مشاهده کنید!](https://github.com/dioxusLabs/docsite).
مستندات Dioxus @@ -419,7 +419,7 @@ Dioxus و Electron دو پروژه با اهداف مشابه اما معمار ## مشارکت -- برای اطلاعات بیشتر درباره مشارکت، به [صفحه مشارکت در سایت ما](https://dioxuslabs.com/learn/0.6/contributing) مراجعه کنید. +- برای اطلاعات بیشتر درباره مشارکت، به [صفحه مشارکت در سایت ما](https://dioxuslabs.com/learn/0.7/contributing) مراجعه کنید. - مشکلات خود را در [ردیاب مشکلات](https://github.com/dioxuslabs/dioxus/issues) گزارش دهید. - به Discord [بپیوندید](https://discord.gg/XgGxMSkvUM) و سوالات خود را مطرح کنید! diff --git a/translations/ja-jp/README.md b/translations/ja-jp/README.md index 1a36747a2..bf769a4b8 100644 --- a/translations/ja-jp/README.md +++ b/translations/ja-jp/README.md @@ -49,7 +49,7 @@ | Examples | - Guide + Guide | 中文 | @@ -88,7 +88,7 @@ fn app() -> Element { - [人間工学に基づいた状態管理](https://dioxuslabs.com/blog/release-050)は、React、Solid、Svelteの長所を組み合わせています - Rustの最速のwasmフレームワーク[sledgehammer](https://dioxuslabs.com/blog/templates-diffing)によって駆動される非常に高いパフォーマンス - Web、macOS、Linux、Windowsにデプロイするための統合バンドラー -- そしてもっと![Dioxusのツアーを見てみましょう](https://dioxuslabs.com/learn/0.6/)。 +- そしてもっと![Dioxusのツアーを見てみましょう](https://dioxuslabs.com/learn/0.7/)。 ## インスタントホットリロード @@ -109,7 +109,7 @@ Dioxusは、Rustでネイティブモバイルアプリを構築する最速の ## Web、デスクトップ、モバイル用のバンドル -単に`dx bundle`を実行すると、アプリがビルドされ、最大化された最適化でバンドルされます。Webでは、[`.avif`生成、`.wasm`圧縮、最小化](https://dioxuslabs.com/learn/0.6/guides/assets)などを活用します。[50kb未満](https://github.com/ealmloff/tiny-dioxus/)のWebアプリや5mb未満のデスクトップ/モバイルアプリを構築します。 +単に`dx bundle`を実行すると、アプリがビルドされ、最大化された最適化でバンドルされます。Webでは、[`.avif`生成、`.wasm`圧縮、最小化](https://dioxuslabs.com/learn/0.7/tutorial/assets)などを活用します。[50kb未満](https://github.com/ealmloff/tiny-dioxus/)のWebアプリや5mb未満のデスクトップ/モバイルアプリを構築します。
@@ -118,7 +118,7 @@ Dioxusは、Rustでネイティブモバイルアプリを構築する最速の ## 素晴らしいドキュメント -私たちは、クリーンで読みやすく包括的なドキュメントを作成するために多大な努力を払いました。すべてのHTML要素とリスナーはMDNドキュメントで記録されており、私たちのドキュメントサイトはDioxus自体と継続的に統合されており、ドキュメントが常に最新であることを保証します。ガイド、リファレンス、レシピなどについては、[Dioxusウェブサイト](https://dioxuslabs.com/learn/0.6/)をご覧ください。面白い事実:私たちはDioxusウェブサイトを新しいDioxus機能のテストベッドとして使用しています - [チェックしてみてください!](https://github.com/dioxusLabs/docsite) +私たちは、クリーンで読みやすく包括的なドキュメントを作成するために多大な努力を払いました。すべてのHTML要素とリスナーはMDNドキュメントで記録されており、私たちのドキュメントサイトはDioxus自体と継続的に統合されており、ドキュメントが常に最新であることを保証します。ガイド、リファレンス、レシピなどについては、[Dioxusウェブサイト](https://dioxuslabs.com/learn/0.7/)をご覧ください。面白い事実:私たちはDioxusウェブサイトを新しいDioxus機能のテストベッドとして使用しています - [チェックしてみてください!](https://github.com/dioxusLabs/docsite)
@@ -350,7 +350,7 @@ DioxusとElectronは、目標が似ている完全に異なる2つのプロジ ## コントリビュート -- [コントリビュートに関するセクション](https://dioxuslabs.com/learn/0.6/contributing)を参照してください。 +- [コントリビュートに関するセクション](https://dioxuslabs.com/learn/0.7/contributing)を参照してください。 - [issue tracker](https://github.com/dioxuslabs/dioxus/issues)で問題を報告してください。 - Discordに[参加](https://discord.gg/XgGxMSkvUM)して質問してください! diff --git a/translations/ko-kr/README.md b/translations/ko-kr/README.md index 05feb80e3..88e770ce0 100644 --- a/translations/ko-kr/README.md +++ b/translations/ko-kr/README.md @@ -45,7 +45,7 @@ | Examples | - Guide + Guide | 中文 | @@ -81,7 +81,7 @@ fn app() -> Element { - [인체공학적 상태 관리](https://dioxuslabs.com/blog/release-050)은 React, Solid, Svelte의 장점을 결합했습니다 - 극도로 높은 성능을 자랑하며 Rust의 가장 빠른 wasm 프레임워크 [sledgehammer](https://dioxuslabs.com/blog/templates-diffing)에 의해 구동됩니다 - 웹, macOS, Linux, Windows에 배포할 수 있는 통합 번들러 -- 그 외에도 많은 기능! [Dioxus 투어를 살펴보세요](https://dioxuslabs.com/learn/0.6/). +- 그 외에도 많은 기능! [Dioxus 투어를 살펴보세요](https://dioxuslabs.com/learn/0.7/). ## 핫 리로딩 @@ -93,7 +93,7 @@ fn app() -> Element { ## 웹 및 데스크톱 배포를 위한 번들러 -단순히 `dx bundle`을 실행하면 앱이 빌드되고 최적화된 번들로 패키징됩니다. 웹에서는 [`.avif` 생성, `.wasm` 압축, 최소화](https://dioxuslabs.com/learn/0.6/guides/assets) 등을 활용할 수 있습니다. [50kb 미만](https://github.com/ealmloff/tiny-dioxus/)의 웹앱과 15mb 미만의 데스크톱/모바일 앱을 빌드하세요. +단순히 `dx bundle`을 실행하면 앱이 빌드되고 최적화된 번들로 패키징됩니다. 웹에서는 [`.avif` 생성, `.wasm` 압축, 최소화](https://dioxuslabs.com/learn/0.7/tutorial/assets) 등을 활용할 수 있습니다. [50kb 미만](https://github.com/ealmloff/tiny-dioxus/)의 웹앱과 15mb 미만의 데스크톱/모바일 앱을 빌드하세요.
@@ -101,7 +101,7 @@ fn app() -> Element { ## 환상적인 문서 -깨끗하고 읽기 쉽고 포괄적인 문서를 구축하는 데 많은 노력을 기울였습니다. 모든 HTML 요소와 리스너는 MDN 문서로 문서화되었으며, 저희 문서 사이트는 Dioxus 자체와 지속적인 통합을 실행하여 문서가 항상 최신 상태로 유지되도록 합니다. 가이드, 참조, 레시피 등을 보려면 [Dioxus 웹사이트](https://dioxuslabs.com/learn/0.6/)를 확인하세요. 재미있는 사실: 저희는 Dioxus 웹사이트를 새로운 Dioxus 기능의 테스트베드로 사용합니다 - [확인해보세요!](https://github.com/dioxusLabs/docsite) +깨끗하고 읽기 쉽고 포괄적인 문서를 구축하는 데 많은 노력을 기울였습니다. 모든 HTML 요소와 리스너는 MDN 문서로 문서화되었으며, 저희 문서 사이트는 Dioxus 자체와 지속적인 통합을 실행하여 문서가 항상 최신 상태로 유지되도록 합니다. 가이드, 참조, 레시피 등을 보려면 [Dioxus 웹사이트](https://dioxuslabs.com/learn/0.7/)를 확인하세요. 재미있는 사실: 저희는 Dioxus 웹사이트를 새로운 Dioxus 기능의 테스트베드로 사용합니다 - [확인해보세요!](https://github.com/dioxusLabs/docsite)
@@ -375,7 +375,7 @@ Dioxus와 Electron은 유사한 목표를 가진 완전히 다른 두 프로젝 ## 기여하기 -- 웹사이트의 [기여 섹션](https://dioxuslabs.com/learn/0.6/contributing)을 확인하세요. +- 웹사이트의 [기여 섹션](https://dioxuslabs.com/learn/0.7/contributing)을 확인하세요. - [이슈 트래커](https://github.com/dioxuslabs/dioxus/issues)에 이슈를 보고하세요. - [Discord](https://discord.gg/XgGxMSkvUM)에 참여하여 질문하세요! diff --git a/translations/pt-br/README.md b/translations/pt-br/README.md index f278060c2..e6623ccb7 100644 --- a/translations/pt-br/README.md +++ b/translations/pt-br/README.md @@ -40,7 +40,7 @@ | Exemplos | - Guia + Guia | 中文 | @@ -85,11 +85,11 @@ Se você conhece React, então você já conhece o Dioxus. - - - - - + + + + +
TutorialWebDesktopSSRMóvelTutorialWebDesktopSSRMóvel
@@ -161,7 +161,7 @@ Dioxus é único no ecossistema do Rust por suportar: - SSR com `hydration` feito pelo Cliente - Suporte à aplicação Desktop -Para mais informações sobre quais funções estão atualmente disponíveis e para o progresso futuro, veja [O Guia](https://dioxuslabs.com/learn/0.6). +Para mais informações sobre quais funções estão atualmente disponíveis e para o progresso futuro, veja [O Guia](https://dioxuslabs.com/learn/0.7/). ## Projeto dentro do ecossistema Dioxus diff --git a/translations/tr-tr/README.md b/translations/tr-tr/README.md index 646db08d4..71ec131b8 100644 --- a/translations/tr-tr/README.md +++ b/translations/tr-tr/README.md @@ -45,7 +45,7 @@ | Examples | - Guide + Guide | 中文 | @@ -81,7 +81,7 @@ fn app() -> Element { - [Ergonomik durum yönetimi](https://dioxuslabs.com/blog/release-050) React, Solid ve Svelte'nin en iyi özelliklerini birleştirdik. - Rust'ın en en hızlı wasm(WebAssembly)-framework'ü (yazılım geliştirmek için kullanılan kütüphanelerin bir araya gelmesi ile oluşan yapılar) ile yüksek performans [sledgehammer](https://dioxuslabs.com/blog/templates-diffing). - Web, macOS, Linux ve Windows üzerinde deploy (yayınlamak) için entegre paketleyici (burada belirtilen `dx bundle` bizim için işleri hallediyor). -- Ve daha fazlası! Gözat -> [Dioxus turu](https://dioxuslabs.com/learn/0.6/). +- Ve daha fazlası! Gözat -> [Dioxus turu](https://dioxuslabs.com/learn/0.7/). ## Anında hot-reloading @@ -93,7 +93,7 @@ Tek bir `dx serve` komutu ile uygulamanı çalıştır. Markup ve styles(html ve ## Web ve Masaüstü için Paketleyici -Basitçe `dx bundle` komutunu çalıştır ve uygulaman maksimum optimizasyon ile derlenip paketlensin. Web üzerindeki [`.avif` oluşturma, `.wasm` sıkıştırma, küçültme](https://dioxuslabs.com/learn/0.6/guides/assets) ve daha fazlası ile avantajı yakala. [50kb'dan daha küçük](https://github.com/ealmloff/tiny-dioxus/) hafif web uygulamaları ve 15mb'dan daha az boyutlarda masaüstü/mobil uygulamalar üret. +Basitçe `dx bundle` komutunu çalıştır ve uygulaman maksimum optimizasyon ile derlenip paketlensin. Web üzerindeki [`.avif` oluşturma, `.wasm` sıkıştırma, küçültme](https://dioxuslabs.com/learn/0.7/tutorial/assets) ve daha fazlası ile avantajı yakala. [50kb'dan daha küçük](https://github.com/ealmloff/tiny-dioxus/) hafif web uygulamaları ve 15mb'dan daha az boyutlarda masaüstü/mobil uygulamalar üret.
@@ -101,7 +101,7 @@ Basitçe `dx bundle` komutunu çalıştır ve uygulaman maksimum optimizasyon il ## Fantastik Dökümantasyon -Temiz, okunabilir ve kapsayıcı döküman için bir ton uğraştık. Bütün html elementleri ve listeners(takipçiler) MDN (geliştiriciler için dökümantasyon detay için [tıkla](https://developer.mozilla.org)) ile dökümente edildi, ve güncelliğinden emin olmak için docsite(dökümanlar) Dioxus'un kendisi ile sürekli entegrasyon halinde. Rehbeler, referanslar, tarifler, ve daha fazlası için göz at [Dioxus websitesi](https://dioxuslabs.com/learn/0.6/). İlginç gerçek: Dioxus'un sitesini yeni özelliklerimizi test etmek için deneme tahtası olarak kullanıyoruz -> [Göz at!](https://github.com/dioxusLabs/docsite) +Temiz, okunabilir ve kapsayıcı döküman için bir ton uğraştık. Bütün html elementleri ve listeners(takipçiler) MDN (geliştiriciler için dökümantasyon detay için [tıkla](https://developer.mozilla.org)) ile dökümente edildi, ve güncelliğinden emin olmak için docsite(dökümanlar) Dioxus'un kendisi ile sürekli entegrasyon halinde. Rehbeler, referanslar, tarifler, ve daha fazlası için göz at [Dioxus websitesi](https://dioxuslabs.com/learn/0.7/). İlginç gerçek: Dioxus'un sitesini yeni özelliklerimizi test etmek için deneme tahtası olarak kullanıyoruz -> [Göz at!](https://github.com/dioxusLabs/docsite)
@@ -391,7 +391,7 @@ Dioxus ve Electron benzer amaçlara sahip tamamıyla farklı iki projedir. Elect ## Katkı Sağlama -- [Katkı sağlamayla alakalı kısım](https://dioxuslabs.com/learn/0.6/contributing) için web sitemizi ziyaret edin. +- [Katkı sağlamayla alakalı kısım](https://dioxuslabs.com/learn/0.7/contributing) için web sitemizi ziyaret edin. - [Issue tracker(sorun takipçisi)](https://github.com/dioxuslabs/dioxus/issues) üzerinden sorunlarınızı raporlayabilirsiniz. - Discord'a [katıl](https://discord.gg/XgGxMSkvUM) ve sorularını sor! diff --git a/translations/zh-cn/README.md b/translations/zh-cn/README.md index d2d49150b..ac708b56a 100644 --- a/translations/zh-cn/README.md +++ b/translations/zh-cn/README.md @@ -49,7 +49,7 @@ | 示例 | - 指南 + 指南 | 中文 | @@ -88,7 +88,7 @@ fn app() -> Element { - [符合人体工程学的状态管理](https://dioxuslabs.com/blog/release-050),结合了 React、Solid 和 Svelte 的优点 - 类型安全的路由和服务器函数,由 Rust 强大的编译时能力保证 - 集成 Web、MacOS、Linux 和 Windows 的打包工具 -- 还有更多! [开启 Dioxus 之旅](https://dioxuslabs.com/learn/0.6/). +- 还有更多! [开启 Dioxus 之旅](https://dioxuslabs.com/learn/0.7/). ## 即时热重载 @@ -110,8 +110,8 @@ Dioxus 是使用 Rust 构建原生移动应用的最快方式。只需运行 `dx ## 为 Web、桌面和移动端打包 -只需运行 `dx bundle`,你的应用将被构建和打包,并进行最大优化。 -在 Web 端,得益于 [`.avif` 生成, `.wasm` 压缩, 代码最小化](https://dioxuslabs.com/learn/0.6/guides/assets)等功能, Web 端的构建[体积小于 50kb](https://github.com/ealmloff/tiny-dioxus/) ,桌面/移动端体积小于 5mb。 +只需运行 `dx bundle`,你的应用将被构建和打包,并进行最大优化。 +在 Web 端,得益于 [`.avif` 生成, `.wasm` 压缩, 代码最小化](https://dioxuslabs.com/learn/0.7/tutorial/assets)等功能, Web 端的构建[体积小于 50kb](https://github.com/ealmloff/tiny-dioxus/) ,桌面/移动端体积小于 5mb。
@@ -119,7 +119,7 @@ Dioxus 是使用 Rust 构建原生移动应用的最快方式。只需运行 `dx ## 出色的文档 -我们投入了大量精力来构建清晰、易读且全面的文档。所有 HTML 元素和监听器都附有 MDN 文档,并且我们的文档网站与 Dioxus 本身进行持续集成,以确保文档始终保持最新。请查看 [Dioxus 网站](https://dioxuslabs.com/learn/0.6/) 获取指南、参考、示例代码等。 +我们投入了大量精力来构建清晰、易读且全面的文档。所有 HTML 元素和监听器都附有 MDN 文档,并且我们的文档网站与 Dioxus 本身进行持续集成,以确保文档始终保持最新。请查看 [Dioxus 网站](https://dioxuslabs.com/learn/0.7/) 获取指南、参考、示例代码等。 有趣的是:我们使用 Dioxus 网站来测试 Dioxus 的新功能 - [快来看看吧!](https://github.com/dioxusLabs/docsite)
@@ -309,7 +309,7 @@ Dioxus 和 Electron 是两个目标相似但完全不同的项目。Electron 使 ## 贡献 -- 查看网站上[关于贡献的部分](https://dioxuslabs.com/learn/0.6/contributing). +- 查看网站上[关于贡献的部分](https://dioxuslabs.com/learn/0.7/contributing). - 在我们的 [issues](https://github.com/dioxuslabs/dioxus/issues) 上报告问题. - [加入](https://discord.gg/XgGxMSkvUM) Discord 并提问!