docs: commit docs

This commit is contained in:
YuKun Liu 2022-02-27 08:22:00 +08:00
parent 4480874ee2
commit 91c40f3b88
2 changed files with 8 additions and 8 deletions

View file

@ -1,6 +1,6 @@
# Build
`dioxsu build` command can help you `pack & build` a dioxus project.
The `dioxus build` command can help you `pack & build` a dioxus project.
```
dioxus-build
@ -15,7 +15,7 @@ OPTIONS:
--release [default: false]
```
you can use this command to build project to `out_dir` :
You can use this command to build project to `out_dir` :
```
dioxus build --release
@ -23,7 +23,7 @@ dioxus build --release
## Target platform
use option `platform` choose build target platform:
Use option `platform` choose build target platform:
```
# for desktop project
@ -39,7 +39,7 @@ dioxus build --platform web
## Build Example
you can use `--example {name}` to build a example code.
You can use `--example {name}` to build a example code.
```
# build `example/test` code

View file

@ -1,6 +1,6 @@
# Serve
`dioxsu serve` can start a dev server (include hot-reload tool) to run the project.
The `dioxus serve` can start a dev server (include hot-reload tool) to run the project.
```
dioxus-serve
@ -15,7 +15,7 @@ OPTIONS:
--release [default: false]
```
you can use this command to build project and start a `dev server` :
You can use this command to build project and start a `dev server` :
```
dioxus serve
@ -23,7 +23,7 @@ dioxus serve
## Target platform
use option `platform` choose build target platform:
Use option `platform` choose build target platform:
```
# for desktop project
@ -41,7 +41,7 @@ dioxus serve --platform web
## Serve Example
you can use `--example {name}` to start a example code.
You can use `--example {name}` to start a example code.
```
# build `example/test` code