-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
23 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
{ | ||
"rust-analyzer.cargo.features": [ | ||
"desktop-testing" | ||
"wasm-testing" | ||
], | ||
"rust-analyzer.cargo.extraArgs": [ | ||
"--exclude=color_scheme" | ||
], | ||
//"rust-analyzer.cargo.target": "wasm32-unknown-unknown", | ||
"rust-analyzer.cargo.target": "wasm32-unknown-unknown", | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
# use_persistent (Desktop) | ||
# use_persistent | ||
|
||
|
||
Use persistent allows you to create data that will persist across sessions. This example will teach you how to use the `use_persistant` hook. | ||
|
||
Run: | ||
Desktop: | ||
|
||
```dioxus serve --platform desktop``` | ||
```sh | ||
dioxus serve --platform desktop --features desktop | ||
``` | ||
|
||
Web: | ||
|
||
```sh | ||
dioxus serve --features web | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters