From 96bfa4a90e81fa0ce669e6012f5a68afbb6d966d Mon Sep 17 00:00:00 2001 From: YuKun Liu Date: Thu, 17 Feb 2022 19:40:20 +0800 Subject: [PATCH 01/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 23cd9c516..18109018a 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ | Guide (0.1.8) | - Guide (Master) + Guide (Nightly) From 5f36dd0ee37e337c9fda210b90201b9b188cd822 Mon Sep 17 00:00:00 2001 From: YuKun Liu <41265098+mrxiaozhuox@users.noreply.github.com> Date: Sun, 20 Feb 2022 10:19:02 +0800 Subject: [PATCH 02/11] docs: init `cli` docs --- docs/cli/.gitignore | 1 + docs/cli/book.toml | 6 ++++++ docs/cli/src/SUMMARY.md | 3 +++ docs/cli/src/chapter_1.md | 1 + 4 files changed, 11 insertions(+) create mode 100644 docs/cli/.gitignore create mode 100644 docs/cli/book.toml create mode 100644 docs/cli/src/SUMMARY.md create mode 100644 docs/cli/src/chapter_1.md diff --git a/docs/cli/.gitignore b/docs/cli/.gitignore new file mode 100644 index 000000000..7585238ef --- /dev/null +++ b/docs/cli/.gitignore @@ -0,0 +1 @@ +book diff --git a/docs/cli/book.toml b/docs/cli/book.toml new file mode 100644 index 000000000..c5c216fe4 --- /dev/null +++ b/docs/cli/book.toml @@ -0,0 +1,6 @@ +[book] +authors = ["YuKun Liu"] +language = "en" +multilingual = false +src = "src" +title = "Dioxus Cli" diff --git a/docs/cli/src/SUMMARY.md b/docs/cli/src/SUMMARY.md new file mode 100644 index 000000000..7390c8289 --- /dev/null +++ b/docs/cli/src/SUMMARY.md @@ -0,0 +1,3 @@ +# Summary + +- [Chapter 1](./chapter_1.md) diff --git a/docs/cli/src/chapter_1.md b/docs/cli/src/chapter_1.md new file mode 100644 index 000000000..b743fda35 --- /dev/null +++ b/docs/cli/src/chapter_1.md @@ -0,0 +1 @@ +# Chapter 1 From e039c5b001adbd806ecca72de9af96587240adb4 Mon Sep 17 00:00:00 2001 From: YuKun Liu <41265098+mrxiaozhuox@users.noreply.github.com> Date: Sun, 20 Feb 2022 11:08:53 +0800 Subject: [PATCH 03/11] docs: add `introduction` --- docs/cli/src/SUMMARY.md | 2 +- docs/cli/src/chapter_1.md | 1 - docs/cli/src/introduction.md | 21 +++++++++++++++++++++ 3 files changed, 22 insertions(+), 2 deletions(-) delete mode 100644 docs/cli/src/chapter_1.md create mode 100644 docs/cli/src/introduction.md diff --git a/docs/cli/src/SUMMARY.md b/docs/cli/src/SUMMARY.md index 7390c8289..e0ff9f902 100644 --- a/docs/cli/src/SUMMARY.md +++ b/docs/cli/src/SUMMARY.md @@ -1,3 +1,3 @@ # Summary -- [Chapter 1](./chapter_1.md) +- [Introduction](./introduction.md) diff --git a/docs/cli/src/chapter_1.md b/docs/cli/src/chapter_1.md deleted file mode 100644 index b743fda35..000000000 --- a/docs/cli/src/chapter_1.md +++ /dev/null @@ -1 +0,0 @@ -# Chapter 1 diff --git a/docs/cli/src/introduction.md b/docs/cli/src/introduction.md new file mode 100644 index 000000000..6c5f5a07c --- /dev/null +++ b/docs/cli/src/introduction.md @@ -0,0 +1,21 @@ +# Introduction + +📦✨ **Dioxus-Cli** is a tool to help get dioxus projects off the ground. + +![dioxus-logo](https://dioxuslabs.com/guide/images/dioxuslogo_full.png) + +It include `dev server`, `hot reload` and some `quick command` to help you use dioxus. + +## Features + +- [x] `html` to `rsx` conversion tool +- [x] hot reload for `web` platform +- [x] create dioxus project from `git` repo +- [x] build & pack dioxus project +- [ ] autoformat dioxus `rsx` code + +## Contributors + +Contributors to this guide: + +- [mrxiaozhuox](https://github.com/mrxiaozhuox) \ No newline at end of file From 6ca0a0a4f95713cf8fd70322ca324c2e15072f6f Mon Sep 17 00:00:00 2001 From: YuKun Liu <41265098+mrxiaozhuox@users.noreply.github.com> Date: Sun, 20 Feb 2022 11:28:22 +0800 Subject: [PATCH 04/11] docs: add `installation` page --- docs/cli/src/SUMMARY.md | 1 + docs/cli/src/installation.md | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 docs/cli/src/installation.md diff --git a/docs/cli/src/SUMMARY.md b/docs/cli/src/SUMMARY.md index e0ff9f902..6d47af5eb 100644 --- a/docs/cli/src/SUMMARY.md +++ b/docs/cli/src/SUMMARY.md @@ -1,3 +1,4 @@ # Summary - [Introduction](./introduction.md) +- [Installation](./installation.md) \ No newline at end of file diff --git a/docs/cli/src/installation.md b/docs/cli/src/installation.md new file mode 100644 index 000000000..7151de1ff --- /dev/null +++ b/docs/cli/src/installation.md @@ -0,0 +1,24 @@ +# Installation + +There are multiple ways to install the Dioxus CLI tool. Choose any one of the methods below that best suit your needs. + +## Install from latest master version + +We suggest you use `github master` version to install it now. + +We have not yet released the latest version to `crates.io` + +``` +cargo install --git https://github.com/Dioxuslabs/cli +``` + +This will automatically download `Dioxus-CLI` source from github master branch, +and install it in Cargo's global binary directory (`~/.cargo/bin/` by default). + +## Install from `crates.io` version + +``` +cargo install dioxus-cli +``` + +Make sure to add the Cargo bin directory to your `PATH`. \ No newline at end of file From ac808d31ad9609ae5a6029ef5f13ff38f470d820 Mon Sep 17 00:00:00 2001 From: YuKun Liu <41265098+mrxiaozhuox@users.noreply.github.com> Date: Sun, 20 Feb 2022 18:23:11 +0800 Subject: [PATCH 05/11] docs: add `cli` docs --- docs/cli/src/SUMMARY.md | 4 +++- docs/cli/src/configure.md | 30 ++++++++++++++++++++++++++++++ docs/cli/src/creating.md | 38 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 71 insertions(+), 1 deletion(-) create mode 100644 docs/cli/src/configure.md create mode 100644 docs/cli/src/creating.md diff --git a/docs/cli/src/SUMMARY.md b/docs/cli/src/SUMMARY.md index 6d47af5eb..115a0992d 100644 --- a/docs/cli/src/SUMMARY.md +++ b/docs/cli/src/SUMMARY.md @@ -1,4 +1,6 @@ # Summary - [Introduction](./introduction.md) -- [Installation](./installation.md) \ No newline at end of file +- [Installation](./installation.md) +- [Create a Project](./creating.md) +- [Configure Project](./configure.md) \ No newline at end of file diff --git a/docs/cli/src/configure.md b/docs/cli/src/configure.md new file mode 100644 index 000000000..11ccd6a16 --- /dev/null +++ b/docs/cli/src/configure.md @@ -0,0 +1,30 @@ +# Configure Project + +This chapter will introduce `Dioxus.toml` and anatomy the config file. + +## Structure + +We use `toml` to define some info for `dioxus` project. + +### Application + +1. ***name*** - project name & title +2. ***default_platform*** - which platform target for this project. + ``` + # current support: web, desktop + # default: web + default_platform = "web" + ``` + change this to `desktop`, the `dioxus build & serve` will default build desktop app. +3. ***out_dir*** - which directory to put the output file; use `dioxus build & service`, the output will put at this directory, and the `assets` will be also copy to here. + ``` + out_dir = "dist" + ``` +4. ***asset_dir*** - which direcotry to put your `static, assets` file, cli will automatic copy all file to `out_dir`, so you can put some resource file in there, like `CSS, JS, Image` file. + ``` + asset_dir = "public" + ``` + +### Web.App + +1. ***title*** - this value will display on the web page title. like `` tag. \ No newline at end of file diff --git a/docs/cli/src/creating.md b/docs/cli/src/creating.md new file mode 100644 index 000000000..fa725a4f7 --- /dev/null +++ b/docs/cli/src/creating.md @@ -0,0 +1,38 @@ +# Create a Project + +Once you have the Dioxus CLI tool installed, you can use it to create dioxus project. + +## Initializing a default project + +The `dioxus create` command will create a new directory containing a project template. +``` +dioxus create hello-dioxus +``` + +It will clone a default template from github template: [DioxusLabs/dioxus-template](https://github.com/DioxusLabs/dioxus-template) + +> This default template is use for `web` platform application. + +then you can change the current directory in to the project: + +``` +cd hello-dioxus +``` + +> Make sure `wasm32 target` is installed before running the Web project. + +now we can create a `dev server` to display the project: + +``` +dioxus serve +``` + +by default, the dioxus dev server will running at: [`http://127.0.0.1:8080/`](http://127.0.0.1:8080/) + +## Initalizing from other repository + +you can assign which repository you want to create: + +``` +dioxus init hello-dioxus --template=gh:dioxuslabs/dioxus-template +``` \ No newline at end of file From ff92b100558930ecdfb3f698abdcb12199ac5f90 Mon Sep 17 00:00:00 2001 From: YuKun Liu <41265098+mrxiaozhuox@users.noreply.github.com> Date: Mon, 21 Feb 2022 20:37:46 +0800 Subject: [PATCH 06/11] docs: commit docs --- docs/cli/src/configure.md | 68 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 67 insertions(+), 1 deletion(-) diff --git a/docs/cli/src/configure.md b/docs/cli/src/configure.md index 11ccd6a16..bc2edfcc0 100644 --- a/docs/cli/src/configure.md +++ b/docs/cli/src/configure.md @@ -27,4 +27,70 @@ We use `toml` to define some info for `dioxus` project. ### Web.App -1. ***title*** - this value will display on the web page title. like `` tag. \ No newline at end of file +Web platform application config: + +1. ***title*** - this value will display on the web page title. like `` tag. + ``` + # HTML title tag content + title = "dioxus app | ⛺" + ``` + +### Web.Watcher + +Web platform `dev-server` watcher config: + +1. ***reload_html*** - a boolean value; when watcher trigger, regenerate `index.html` file. + ``` + # when watcher trigger, regenerate the `index.html` + reload_html = true + ``` +2. ***watch_path*** - which files & directories will be watcher monitoring. + ``` + watch_path = ["src", "public"] + ``` + +### Web.Resource + +Include some `CSS Javascript` resources into html file. + +1. ***style*** - include some style(CSS) file into html. + ``` + style = [ + # include from public_dir. + "./assets/style.css", + # or some asset from online cdn. + "https://cdn.jsdelivr.net/npm/bootstrap/dist/css/bootstrap.css" + ] + ``` +2. ***script*** - include soe script(JS) file into html. + ``` + style = [ + # include from public_dir. + "./assets/index.js", + # or some asset from online cdn. + "https://cdn.jsdelivr.net/npm/bootstrap/dist/js/bootstrap.js" + ] + ``` + +### Web.Resource.Dev + +Only include resources at `Dev` mode. + +1. ***style*** - include some style(CSS) file into html. + ``` + style = [ + # include from public_dir. + "./assets/style.css", + # or some asset from online cdn. + "https://cdn.jsdelivr.net/npm/bootstrap/dist/css/bootstrap.css" + ] + ``` +2. ***script*** - include soe script(JS) file into html. + ``` + style = [ + # include from public_dir. + "./assets/index.js", + # or some asset from online cdn. + "https://cdn.jsdelivr.net/npm/bootstrap/dist/js/bootstrap.js" + ] + ``` From 9fb50199290031d7e7e66349818e374e0411f032 Mon Sep 17 00:00:00 2001 From: YuKun Liu <41265098+mrxiaozhuox@users.noreply.github.com> Date: Mon, 21 Feb 2022 21:25:58 +0800 Subject: [PATCH 07/11] docs: add `commands` --- docs/cli/src/SUMMARY.md | 5 +++- docs/cli/src/cmd/README.md | 26 +++++++++++++++++++ docs/cli/src/cmd/build.md | 47 +++++++++++++++++++++++++++++++++++ docs/cli/src/cmd/serve.md | 49 ++++++++++++++++++++++++++++++++++++ docs/cli/src/configure.md | 51 ++++++++++++++++++++++++++++++++++++++ 5 files changed, 177 insertions(+), 1 deletion(-) create mode 100644 docs/cli/src/cmd/README.md create mode 100644 docs/cli/src/cmd/build.md create mode 100644 docs/cli/src/cmd/serve.md diff --git a/docs/cli/src/SUMMARY.md b/docs/cli/src/SUMMARY.md index 115a0992d..6a6ebb5ef 100644 --- a/docs/cli/src/SUMMARY.md +++ b/docs/cli/src/SUMMARY.md @@ -3,4 +3,7 @@ - [Introduction](./introduction.md) - [Installation](./installation.md) - [Create a Project](./creating.md) -- [Configure Project](./configure.md) \ No newline at end of file +- [Configure Project](./configure.md) +- [Commands](./cmd/README.md) + - [Build](./cmd/build.md) + - [Serve](./cmd/serve.md) \ No newline at end of file diff --git a/docs/cli/src/cmd/README.md b/docs/cli/src/cmd/README.md new file mode 100644 index 000000000..c642b475f --- /dev/null +++ b/docs/cli/src/cmd/README.md @@ -0,0 +1,26 @@ +# Commands + +In this chapter we will introduce all `dioxus-cli` commands. + +> you can also use `dioxus --help` to get cli help info. + +``` +dioxus +Build, bundle, & ship your Dioxus app + +USAGE: + dioxus [OPTIONS] + +OPTIONS: + -h, --help Print help information + -v Enable verbose logging + +SUBCOMMANDS: + build Build the Rust WASM app and all of its assets + clean Clean output artifacts + config Dioxus config file controls + create Init a new project for Dioxus + help Print this message or the help of the given subcommand(s) + serve Build, watch & serve the Rust WASM app and all of its assets + translate Translate some source file into Dioxus code +``` \ No newline at end of file diff --git a/docs/cli/src/cmd/build.md b/docs/cli/src/cmd/build.md new file mode 100644 index 000000000..67261d082 --- /dev/null +++ b/docs/cli/src/cmd/build.md @@ -0,0 +1,47 @@ +# Build + +`dioxsu build` command can help you `pack & build` a dioxus project. + +``` +dioxus-build +Build the Rust WASM app and all of its assets + +USAGE: + dioxus build [OPTIONS] + +OPTIONS: + --example [default: ""] + --platform [default: "default_platform"] + --release [default: false] +``` + +you can use this command to build project to `out_dir` : + +``` +dioxus build --release +``` + +## Target platform + +use option `platform` choose build target platform: + +``` +# for desktop project +dioxus build --platform desktop +``` + +`platform` only supports `desktop` & `web`. + +``` +# for web project +dioxus build --platform web +``` + +## Build Example + +you can use `--example {name}` to build a example code. + +``` +# build `example/test` code +dioxus build --exmaple test +``` \ No newline at end of file diff --git a/docs/cli/src/cmd/serve.md b/docs/cli/src/cmd/serve.md new file mode 100644 index 000000000..c8237512d --- /dev/null +++ b/docs/cli/src/cmd/serve.md @@ -0,0 +1,49 @@ +# Serve + +`dioxsu serve` can start a dev server (include hot-reload tool) to run the project. + +``` +dioxus-serve +Build, watch & serve the Rust WASM app and all of its assets + +USAGE: + dioxus serve [OPTIONS] + +OPTIONS: + --example [default: ""] + --platform [default: "default_platform"] + --release [default: false] +``` + +you can use this command to build project and start a `dev server` : + +``` +dioxus serve +``` + +## Target platform + +use option `platform` choose build target platform: + +``` +# for desktop project +dioxus serve --platform desktop +``` + +`platform` only supports `desktop` & `web`. + +`dev-server` only for `web` project. + +``` +# for web project +dioxus serve --platform web +``` + +## Serve Example + +you can use `--example {name}` to start a example code. + +``` +# build `example/test` code +dioxus serve --exmaple test +``` \ No newline at end of file diff --git a/docs/cli/src/configure.md b/docs/cli/src/configure.md index bc2edfcc0..ddcefb736 100644 --- a/docs/cli/src/configure.md +++ b/docs/cli/src/configure.md @@ -94,3 +94,54 @@ Only include resources at `Dev` mode. "https://cdn.jsdelivr.net/npm/bootstrap/dist/js/bootstrap.js" ] ``` + +## Config example + +```toml +[application] + +# App (Project) Name +name = "{{project-name}}" + +# Dioxus App Default Platform +# desktop, web, mobile, ssr +default_platform = "web" + +# `build` & `serve` dist path +out_dir = "dist" + +# resource (public) file folder +asset_dir = "public" + +[web.app] + +# HTML title tag content +title = "dioxus | ⛺" + +[web.watcher] + +# when watcher trigger, regenerate the `index.html` +reload_html = true + +# which files or dirs will be watcher monitoring +watch_path = ["src", "public"] + +# include `assets` in web platform +[web.resource] + +# CSS style file +style = [] + +# Javascript code file +script = [] + +[web.resource.dev] + +# serve: [dev-server] only + +# CSS style file +style = [] + +# Javascript code file +script = [] +``` \ No newline at end of file From 9301a55abfe5e32e8c6e70408997a637d1fde702 Mon Sep 17 00:00:00 2001 From: YuKun Liu <41265098+mrxiaozhuox@users.noreply.github.com> Date: Tue, 22 Feb 2022 19:21:23 +0800 Subject: [PATCH 08/11] docs: commit docs --- docs/cli/src/SUMMARY.md | 4 ++- docs/cli/src/cmd/clean.md | 18 +++++++++++ docs/cli/src/cmd/translate.md | 57 +++++++++++++++++++++++++++++++++++ 3 files changed, 78 insertions(+), 1 deletion(-) create mode 100644 docs/cli/src/cmd/clean.md create mode 100644 docs/cli/src/cmd/translate.md diff --git a/docs/cli/src/SUMMARY.md b/docs/cli/src/SUMMARY.md index 6a6ebb5ef..ed7bcbfaf 100644 --- a/docs/cli/src/SUMMARY.md +++ b/docs/cli/src/SUMMARY.md @@ -6,4 +6,6 @@ - [Configure Project](./configure.md) - [Commands](./cmd/README.md) - [Build](./cmd/build.md) - - [Serve](./cmd/serve.md) \ No newline at end of file + - [Serve](./cmd/serve.md) + - [Clean](./cmd/clean.md) + - [Translate](./cmd/translate.md) \ No newline at end of file diff --git a/docs/cli/src/cmd/clean.md b/docs/cli/src/cmd/clean.md new file mode 100644 index 000000000..2f889c1a8 --- /dev/null +++ b/docs/cli/src/cmd/clean.md @@ -0,0 +1,18 @@ +# Clean + +`dioxus clean` will call `target clean` and remove `out_dir` directory. + +``` +dioxus-clean +Clean output artifacts + +USAGE: + dioxus clean +``` + +you can use this command to clean all build cache and the `out_dir` content. + +``` +dioxus clean +``` + diff --git a/docs/cli/src/cmd/translate.md b/docs/cli/src/cmd/translate.md new file mode 100644 index 000000000..415a88fba --- /dev/null +++ b/docs/cli/src/cmd/translate.md @@ -0,0 +1,57 @@ +# Translate + +`dioxus translate` can translate some source file into Dioxus code. + +``` +dioxus-translate +Translate some source file into Dioxus code + +USAGE: + dioxus translate [OPTIONS] [OUTPUT] + +ARGS: + Output file, stdout if not present + +OPTIONS: + -c, --component Activate debug mode + -f, --file Input file +``` + +## Translate HTML to stdout + +``` +dioxus transtale --file ./index.html +``` + +## Output in a file + +``` +dioxus translate --component --file ./index.html component.rsx +``` + +set `component` flag will wrap `dioxus rsx` code in a component function. + +## Example + +```html +
+

Hello World

+ Link +
+``` + +Translate HTML to Dioxus component code. + +```rust +fn component(cx: Scope) -> Element { + cx.render(rsx! { + div { + h1 { "Hello World" }, + a { + href: "https://dioxuslabs.com/", + "Link" + } + } + }) +} +``` \ No newline at end of file From 4480874ee2489e6c1c258f54409aae2160717c73 Mon Sep 17 00:00:00 2001 From: YuKun Liu <41265098+mrxiaozhuox@users.noreply.github.com> Date: Thu, 24 Feb 2022 23:35:26 +0800 Subject: [PATCH 09/11] docs: commit docs --- docs/cli/src/configure.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/cli/src/configure.md b/docs/cli/src/configure.md index ddcefb736..f274ce70d 100644 --- a/docs/cli/src/configure.md +++ b/docs/cli/src/configure.md @@ -62,7 +62,7 @@ Include some `CSS Javascript` resources into html file. "https://cdn.jsdelivr.net/npm/bootstrap/dist/css/bootstrap.css" ] ``` -2. ***script*** - include soe script(JS) file into html. +2. ***script*** - include some script(JS) file into html. ``` style = [ # include from public_dir. @@ -85,7 +85,7 @@ Only include resources at `Dev` mode. "https://cdn.jsdelivr.net/npm/bootstrap/dist/css/bootstrap.css" ] ``` -2. ***script*** - include soe script(JS) file into html. +2. ***script*** - include some script(JS) file into html. ``` style = [ # include from public_dir. From 91c40f3b88735be6d2f5f66d184001832156e883 Mon Sep 17 00:00:00 2001 From: YuKun Liu <41265098+mrxiaozhuox@users.noreply.github.com> Date: Sun, 27 Feb 2022 08:22:00 +0800 Subject: [PATCH 10/11] docs: commit docs --- docs/cli/src/cmd/build.md | 8 ++++---- docs/cli/src/cmd/serve.md | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/cli/src/cmd/build.md b/docs/cli/src/cmd/build.md index 67261d082..e81973f2d 100644 --- a/docs/cli/src/cmd/build.md +++ b/docs/cli/src/cmd/build.md @@ -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 diff --git a/docs/cli/src/cmd/serve.md b/docs/cli/src/cmd/serve.md index c8237512d..e5c10a902 100644 --- a/docs/cli/src/cmd/serve.md +++ b/docs/cli/src/cmd/serve.md @@ -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 From 2df0e54d6a29ad5ddc2c018b980bec01e23868e5 Mon Sep 17 00:00:00 2001 From: YuKun Liu <41265098+mrxiaozhuox@users.noreply.github.com> Date: Sun, 27 Feb 2022 08:22:31 +0800 Subject: [PATCH 11/11] docs: commit docs --- docs/cli/src/introduction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cli/src/introduction.md b/docs/cli/src/introduction.md index 6c5f5a07c..2f857a2a5 100644 --- a/docs/cli/src/introduction.md +++ b/docs/cli/src/introduction.md @@ -4,7 +4,7 @@ ![dioxus-logo](https://dioxuslabs.com/guide/images/dioxuslogo_full.png) -It include `dev server`, `hot reload` and some `quick command` to help you use dioxus. +It includes `dev server`, `hot reload` and some `quick command` to help you use dioxus. ## Features