Skip to content

Commit

Permalink
Merge pull request #116 from marc2332/patch-1
Browse files Browse the repository at this point in the history
fix: Not pass project name when creating with `dx create`
  • Loading branch information
ealmloff authored Sep 10, 2023
2 parents d52cbf9 + 493baeb commit 0c5339a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs-src/0.4/en/CLI/creating.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ Once you have the Dioxus CLI installed, you can use it to create your own projec

## Initializing a project

First, run the `dx create hello-dioxus` command to create a new project.
First, run the `dx create` command to create a new project.

> It clones this [template](https://github.com/DioxusLabs/dioxus-template), which is used for web apps.
>
> You can create your project from a different template by passing the `template` argument:
> ```
> dx create hello-dioxus --template gh:dioxuslabs/dioxus-template
> dx create --template gh:dioxuslabs/dioxus-template
> ```
Next, navigate into your new project using `cd hello-dioxus`, or simply opening it in an IDE.
Next, navigate into your new project using `cd project-name`, or simply opening it in an IDE.
> Make sure the WASM target is installed before running the projects.
> You can install the WASM target for rust using rustup:
Expand All @@ -22,4 +22,4 @@ Next, navigate into your new project using `cd hello-dioxus`, or simply opening
> ```
Finally, serve your project with `dx serve`!
The CLI will tell you the address it is serving on, along with additional info such as code warnings.
The CLI will tell you the address it is serving on, along with additional info such as code warnings.

0 comments on commit 0c5339a

Please sign in to comment.