Merge branch 'master' into jk/remove-dioxus-bin

This commit is contained in:
Jonathan Kelley committed 2023-07-18 18:31:48 -07:00
commit cd30b42e2d
259 files changed
+11706 -4788

No files matched your search

+9
View File
@@ -13,6 +13,7 @@ OPTIONS:
--example <EXAMPLE> [default: ""]
--platform <PLATFORM> [default: "default_platform"]
--release [default: false]
--bin [default: None]
```
You can use this command to build a project:
@@ -37,6 +38,14 @@ dx build --platform desktop
dx build --platform web
```
## Specify workspace bin
You can add the `--bin` option to select which crate you want Dioxus to build:
```
dioxus build --bin app
```
## Build Example
You can use the `example` option to select a example to build:
+10 -1
View File
@@ -7,7 +7,10 @@ dioxus-clean
Clean build artifacts
USAGE:
dx clean
dx clean [OPTIONS]
OPTIONS:
--bin [default: None]
```
# Example
@@ -16,3 +19,9 @@ USAGE:
dx clean
```
# Specify workspace bin
You can add the `--bin` option to select which crate you want Dioxus to clean artifacts from:
```
dioxus clean --bin app
```
+10 -1
View File
@@ -13,7 +13,8 @@ OPTIONS:
--example <EXAMPLE> [default: ""]
--platform <PLATFORM> [default: "default_platform"]
--release [default: false]
--hot-reload [default: false]ß
--hot-reload [default: false]
--bin [default: None]
```
You can use this command to build project and start a dev server:
@@ -31,6 +32,14 @@ You can use the `example` option to serve a example:
dx serve --exmaple test
```
## Specify workspace bin
You can add the `--bin` option to select which crate you want Dioxus to build and serve:
```
dioxus serve --bin app
```
## Open Browser
You can add the `--open` option to open system default browser when server startup: