prep for 0.7 release
This commit is contained in:
1 parent
1b81d89f0b
commit
8f85114d46
40 files changed
+85
-85
No files matched your search
@@ -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 \
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
<span> | </span>
|
||||
<a href="https://github.com/DioxusLabs/dioxus/tree/main/examples"> Examples </a>
|
||||
<span> | </span>
|
||||
<a href="https://dioxuslabs.com/learn/0.6/guide"> Guide </a>
|
||||
<a href="https://dioxuslabs.com/learn/0.7/tutorial"> Tutorial </a>
|
||||
<span> | </span>
|
||||
<a href="https://github.com/DioxusLabs/dioxus/blob/main/translations/zh-cn/README.md"> 中文 </a>
|
||||
<span> | </span>
|
||||
@@ -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.
|
||||
|
||||
<div align="center">
|
||||
<img src="./notes/bundle.gif">
|
||||
@@ -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)
|
||||
|
||||
<div align="center">
|
||||
<img src="./notes/docs.avif">
|
||||
@@ -257,7 +257,7 @@ cargo run --example <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 <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!
|
||||
|
||||
|
||||
@@ -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.
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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 {
|
||||
/// <https://dioxuslabs.com/learn/0.6/reference/hooks#no-hooks-in-conditionals>
|
||||
/// <https://dioxuslabs.com/learn/0.7/reference/hooks#no-hooks-in-conditionals>
|
||||
HookInsideConditional(HookInfo, ConditionalInfo),
|
||||
/// <https://dioxuslabs.com/learn/0.6/reference/hooks#no-hooks-in-loops>
|
||||
/// <https://dioxuslabs.com/learn/0.7/reference/hooks#no-hooks-in-loops>
|
||||
HookInsideLoop(HookInfo, AnyLoopInfo),
|
||||
/// <https://dioxuslabs.com/learn/0.6/reference/hooks#no-hooks-in-closures>
|
||||
/// <https://dioxuslabs.com/learn/0.7/reference/hooks#no-hooks-in-closures>
|
||||
HookInsideClosure(HookInfo, ClosureInfo),
|
||||
HookInsideAsync(HookInfo, AsyncInfo),
|
||||
HookOutsideComponent(HookInfo),
|
||||
|
||||
@@ -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:#}
|
||||
"#
|
||||
);
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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, ..
|
||||
|
||||
@@ -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!
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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!
|
||||
@@ -6,7 +6,7 @@
|
||||
class="darkmode-image"
|
||||
>
|
||||
<div>
|
||||
<a href=https://dioxuslabs.com/learn/0.6/getting_started>Getting Started</a> | <a href="https://dioxuslabs.com/learn/0.6">Book (0.6)</a> | <a href="https://github.com/DioxusLabs/dioxus/tree/main/examples">Examples</a>
|
||||
<a href=https://dioxuslabs.com/learn/0.7/getting_started>Getting Started</a> | <a href="https://dioxuslabs.com/learn/0.7/">Book (0.6)</a> | <a href="https://github.com/DioxusLabs/dioxus/tree/main/examples">Examples</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
//!
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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!
|
||||
|
||||
|
||||
@@ -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<Option<u32>> {
|
||||
|
||||
## 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
|
||||
|
||||
|
||||
@@ -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<Route> {}`](https://dioxuslabs.com/learn/0.6/router) | ✅ | `#[derive(Routable, Clone, PartialEq)] enum Route { #[route("/user/:id")] Homepage { id: u32 } }` |
|
||||
| [`Router<Route> {}`](https://dioxuslabs.com/learn/0.7/router) | ✅ | `#[derive(Routable, Clone, PartialEq)] enum Route { #[route("/user/:id")] Homepage { id: u32 } }` |
|
||||
|
||||
## Contributing
|
||||
|
||||
|
||||
@@ -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<i32>) -> 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::*;
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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"]
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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" }
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
<span> | </span>
|
||||
<a href="https://github.com/DioxusLabs/example-projects"> Examples </a>
|
||||
<span> | </span>
|
||||
<a href="https://dioxuslabs.com/learn/0.6/guide"> Guide </a>
|
||||
<a href="https://dioxuslabs.com/learn/0.7/tutorial"> Guide </a>
|
||||
<span> | </span>
|
||||
<a href="https://github.com/DioxusLabs/dioxus/blob/main/translations/zh-cn/README.md"> 中文 </a>
|
||||
<span> | </span>
|
||||
@@ -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 تولید کنید.
|
||||
|
||||
<div align="center">
|
||||
<img src="../../notes/bundle.gif" alt="بستهبندی برنامه">
|
||||
@@ -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).
|
||||
|
||||
<div align="center">
|
||||
<img src="../../notes/docs.avif" alt="مستندات 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) و سوالات خود را مطرح کنید!
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
<span> | </span>
|
||||
<a href="https://github.com/DioxusLabs/dioxus/tree/main/examples"> Examples </a>
|
||||
<span> | </span>
|
||||
<a href="https://dioxuslabs.com/learn/0.6/guide"> Guide </a>
|
||||
<a href="https://dioxuslabs.com/learn/0.7/tutorial"> Guide </a>
|
||||
<span> | </span>
|
||||
<a href="https://github.com/DioxusLabs/dioxus/blob/main/translations/zh-cn/README.md"> 中文 </a>
|
||||
<span> | </span>
|
||||
@@ -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にデプロイするための統合バンドラー
|
||||
- そしてもっと。
|
||||
- そしてもっと。
|
||||
|
||||
## インスタントホットリロード
|
||||
|
||||
@@ -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未満のデスクトップ/モバイルアプリを構築します。
|
||||
|
||||
<div align="center">
|
||||
<img src="../../notes/bundle.gif">
|
||||
@@ -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)
|
||||
|
||||
<div align="center">
|
||||
<img src="../../notes/docs.avif">
|
||||
@@ -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)して質問してください!
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
<span> | </span>
|
||||
<a href="https://github.com/DioxusLabs/dioxus/tree/main/examples"> Examples </a>
|
||||
<span> | </span>
|
||||
<a href="https://dioxuslabs.com/learn/0.6/guide"> Guide </a>
|
||||
<a href="https://dioxuslabs.com/learn/0.7/tutorial"> Guide </a>
|
||||
<span> | </span>
|
||||
<a href="https://github.com/DioxusLabs/dioxus/blob/main/translations/zh-cn/README.md"> 中文 </a>
|
||||
<span> | </span>
|
||||
@@ -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 미만의 데스크톱/모바일 앱을 빌드하세요.
|
||||
|
||||
<div align="center">
|
||||
<img src="../../notes/bundle.gif">
|
||||
@@ -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)
|
||||
|
||||
<div align="center">
|
||||
<img src="../../notes/docs.avif">
|
||||
@@ -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)에 참여하여 질문하세요!
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
<span> | </span>
|
||||
<a href="https://github.com/DioxusLabs/example-projects"> Exemplos </a>
|
||||
<span> | </span>
|
||||
<a href="https://dioxuslabs.com/learn/0.6"> Guia </a>
|
||||
<a href="https://dioxuslabs.com/learn/0.7/"> Guia </a>
|
||||
<span> | </span>
|
||||
<a href="https://github.com/DioxusLabs/dioxus/blob/main/translations/zh-cn/README.md"> 中文 </a>
|
||||
<span> | </span>
|
||||
@@ -85,11 +85,11 @@ Se você conhece React, então você já conhece o Dioxus.
|
||||
|
||||
<table style="width:100%" align="center">
|
||||
<tr>
|
||||
<th><a href="https://dioxuslabs.com/learn/0.6">Tutorial</a></th>
|
||||
<th><a href="https://dioxuslabs.com/learn/0.6/guides/web">Web</a></th>
|
||||
<th><a href="https://dioxuslabs.com/learn/0.6/guides/desktop">Desktop</a></th>
|
||||
<th><a href="https://dioxuslabs.com/learn/0.6/guides/ssr">SSR</a></th>
|
||||
<th><a href="https://dioxuslabs.com/learn/0.6/guides/mobile">Móvel</a></th>
|
||||
<th><a href="https://dioxuslabs.com/learn/0.7/">Tutorial</a></th>
|
||||
<th><a href="https://dioxuslabs.com/learn/0.7/tutorial/web">Web</a></th>
|
||||
<th><a href="https://dioxuslabs.com/learn/0.7/tutorial/desktop">Desktop</a></th>
|
||||
<th><a href="https://dioxuslabs.com/learn/0.7/tutorial/ssr">SSR</a></th>
|
||||
<th><a href="https://dioxuslabs.com/learn/0.7/tutorial/mobile">Móvel</a></th>
|
||||
<tr>
|
||||
</table>
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
<span> | </span>
|
||||
<a href="https://github.com/DioxusLabs/example-projects"> Examples </a>
|
||||
<span> | </span>
|
||||
<a href="https://dioxuslabs.com/learn/0.6/guide"> Guide </a>
|
||||
<a href="https://dioxuslabs.com/learn/0.7/tutorial"> Guide </a>
|
||||
<span> | </span>
|
||||
<a href="https://github.com/DioxusLabs/dioxus/blob/main/translations/zh-cn/README.md"> 中文 </a>
|
||||
<span> | </span>
|
||||
@@ -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.
|
||||
|
||||
<div align="center">
|
||||
<img src="../../notes/bundle.gif">
|
||||
@@ -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)
|
||||
|
||||
<div align="center">
|
||||
<img src="../../notes/docs.avif">
|
||||
@@ -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!
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
<span> | </span>
|
||||
<a href="https://github.com/DioxusLabs/dioxus/tree/main/examples"> 示例 </a>
|
||||
<span> | </span>
|
||||
<a href="https://dioxuslabs.com/learn/0.6/guide"> 指南 </a>
|
||||
<a href="https://dioxuslabs.com/learn/0.7/tutorial"> 指南 </a>
|
||||
<span> | </span>
|
||||
<a href="https://github.com/DioxusLabs/dioxus/blob/main/translations/zh-cn/README.md"> 中文 </a>
|
||||
<span> | </span>
|
||||
@@ -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/).
|
||||
|
||||
## 即时热重载
|
||||
|
||||
@@ -111,7 +111,7 @@ 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。
|
||||
在 Web 端,得益于 [`.avif` 生成, `.wasm` 压缩, 代码最小化](https://dioxuslabs.com/learn/0.7/tutorial/assets)等功能, Web 端的构建[体积小于 50kb](https://github.com/ealmloff/tiny-dioxus/) ,桌面/移动端体积小于 5mb。
|
||||
|
||||
<div align="center">
|
||||
<img src="../../notes/bundle.gif">
|
||||
@@ -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)
|
||||
|
||||
<div align="center">
|
||||
@@ -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 并提问!
|
||||
|
||||
|
||||
Reference in new issue
Block a user