mirror of
https://github.com/rustfs/rustfs.git
synced 2026-01-17 09:40:32 +00:00
- Set up the `rustfs-gui` package in the workspace. - Add `dioxus` dependency with `router` feature. - Configure workspace settings for edition, license, repository, and rust-version. - Include lints configuration for the workspace.
35 lines
720 B
Markdown
35 lines
720 B
Markdown
## Rustfs GUI
|
|
|
|
### 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 ./assets/tailwind.css --watch
|
|
```
|
|
|
|
### Dioxus CLI
|
|
|
|
#### Install the stable version (recommended)
|
|
|
|
```shell
|
|
cargo install dioxus-cli
|
|
```
|
|
|
|
### Serving Your App
|
|
|
|
Run the following command in the root of your project to start developing with the default platform:
|
|
|
|
```bash
|
|
dx serve
|
|
```
|
|
|
|
To run for a different platform, use the `--platform platform` flag. E.g.
|
|
|
|
```bash
|
|
dx serve --platform desktop
|
|
```
|
|
|