-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refined README.md and bump version to v0.1.5
- Loading branch information
Showing
3 changed files
with
32 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,10 @@ | ||
|
||
# Development | ||
{% if styling == "Tailwind" %} | ||
1. Install npm: https://docs.npmjs.com/downloading-and-installing-node-js-and-npm | ||
2. Install the tailwind css cli: https://tailwindcss.com/docs/installation | ||
3. Run the following command in the root of the project to start the tailwind CSS compiler: | ||
|
||
```bash | ||
npx tailwindcss -i ./input.css -o ./public/tailwind.css --watch | ||
``` | ||
{% endif %} | ||
{% if platform == "desktop" %} | ||
Run the following command in the root of the project to start the Dioxus dev server: | ||
|
||
```bash | ||
dx serve --hot-reload --platform desktop | ||
``` | ||
{% else %} | ||
{% if platform == "TUI" %} | ||
Run the following command in the root of the project to start the Dioxus dev server: | ||
|
||
```bash | ||
dx serve --hot-reload --platform desktop | ||
``` | ||
{% else %} | ||
{% if platform == "web" %} | ||
Run the following command in the root of the project to start the Dioxus dev server: | ||
|
||
```bash | ||
dx serve --hot-reload | ||
``` | ||
|
||
- Open the browser to http://localhost:8080 | ||
{% else %} | ||
{% if platform == "Fullstack" %} | ||
Launch the Dioxus Fullstack app: | ||
|
||
```bash | ||
dx build --features web --release | ||
cargo run --features ssr --release | ||
``` | ||
{% else %} | ||
Launch the Dioxus app: | ||
|
||
```bash | ||
cargo run | ||
``` | ||
{% endif %} | ||
{% endif %} | ||
- Open the browser to <http://localhost:8080> |