ead183dd2c8445e37f2d957a49d027ab14bf759e
dioxus serve
This adds an MVP of some proxying capabilities to the `dioxus serve` server. The config is similar to that of `trunk serve`: the user can specify one or more proxy backends under `[[web.proxy]]` in Dioxus.toml, and the server will intercept requests targeted at the _path_ of that configured backend and forward them to the backend server. Example ------- For example, if the dev server is serving on port 8080 with this config: ``` [[web.proxy]] backend = "http://localhost:9000/api" ``` then requests to http://localhost:8080/api, http://localhost:8080/api/ and http://localhost:8080/api/any-subpath to be forwarded to the respective paths on http://localhost:9000. This PR doesn't handle path rewriting or anything yet but it would be fairly simple to add in future if anyone needs it.
📦✨ Dioxus CLI
Tooling to supercharge Dioxus projects
Installation
Install stable version
cargo install dioxus-cli
Install from git repository
cargo install --git https://github.com/DioxusLabs/cli
Install from local folder
cargo install --path . --debug
Get Started
Use dioxus create project-name to initialize a new Dioxus project.
It will be cloned from the dioxus-template repository.
Alternatively, you can specify the template path:
dioxus create hello --template gh:dioxuslabs/dioxus-template
Dioxus Config File
Dioxus CLI will use Dioxus.toml file to Identify some project info and switch some cli feature.
You can get more configure information from Dioxus CLI Document.
Description
Fork of DioxusLabs/dioxus v0.7.10 with the patches Coach vs Coach needs: iOS FFI Retained (PR #5733), Android versionCode (PR #5735), JNI classloader fix, Gradle pins. Branch: v0.7.10-sw
53 MiB
0 Stars
1 Watchers
0 Forks
Languages
Rust
92.8%
HTML
2.2%
R
2%
JavaScript
1.2%
TypeScript
1.1%
Other
0.5%