remove references to renderer features

This commit is contained in:
Evan Almloff committed 2022-12-19 12:10:50 -06:00
1 parent a42660a451
commit c74a16b8d4
16 files changed
+39 -69

No files matched your search

+3 -9
View File
@@ -25,19 +25,13 @@ cargo new --bin demo
cd demo
```
Add Dioxus with the `desktop` feature (this will edit `Cargo.toml`):
Add Dioxus and the `desktop` renderer (this will edit `Cargo.toml`):
```shell
cargo add dioxus --features desktop
cargo add dioxus
cargo add dioxus-desktop
```
> If your system does not provide the `libappindicator3` library, like Debian/bullseye, you can enable the replacement `ayatana` with an additional flag:
>
>```shell
># On Debian/bullseye use:
>cargo add dioxus --features desktop --features ayatana
>```
Edit your `main.rs`:
```rust