feat: --bin docs

This commit is contained in:
Miles Murgaw committed 2023-07-17 18:24:03 -04:00
1 parent 4b70b1ce96
commit 056effb87c
3 files changed
+29 -2

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 @@ dioxus build --platform desktop
dioxus 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: