2024-10-03 18:41:43 +00:00
|
|
|
# Development
|
|
|
|
|
|
2024-10-03 18:45:45 +00:00
|
|
|
1. Install dioxus cli: `cargo install dioxus-cli --version 0.5.4`
|
|
|
|
|
2. Install npm: https://docs.npmjs.com/downloading-and-installing-node-js-and-npm
|
|
|
|
|
3. Install the tailwind css cli: https://tailwindcss.com/docs/installation
|
|
|
|
|
4. Run the following command in the root of the project to start the tailwind CSS compiler:
|
2024-10-03 18:41:43 +00:00
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
npx tailwindcss -i ./input.css -o ./assets/tailwind.css --watch
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Run the following command in the root of the project to start the Dioxus dev server:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
dx serve --hot-reload --platform desktop
|
|
|
|
|
```
|