|
@@ -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:
|
|
|
dioxus 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:
|