|
3 years ago | |
---|---|---|
.vscode | 4 years ago | |
src | 3 years ago | |
.gitignore | 4 years ago | |
Cargo.toml | 3 years ago | |
README.md | 3 years ago |
Tooling to supercharge dioxus projects
dioxus-studio (inspired by wasm-pack and webpack) is a tool to help get dioxus projects off the ground. It handles all the build, development, bundling, and publishing to make web development just a simple two commands: cargo init
and dioxus-cli publish
.
Best thing:
node_modules
.Dioxus Studio features a command-line driven visual interface to manage your project. It's a great way to get started with dioxus projects.
To start the visual environment, simply type dioxus studio
in your terminal.
From there, you can explore all the options to build, bundle, and deploy your app.
Just install Rust, dioxus-cli, and you're good to go.
cargo install --git github.com/jkelleyrtp/dioxus-cli
Need a development server?
dioxus develop
Need to run an example?
dioxus develop --example textbox
Need to benchmark a component?
dioxus bench
Need to test your code?
dioxus test
Need to convert some html into rsx?
dioxus convert file.html >> file.rs
Need to build your code into a bundle?
dioxus build --outdir public
Sometimes you'll want to include static assets without bundling them into your .wasm content. dioxus-cli provides a few ways of doing this:
dioxus::asset("./static/images/blah.svg")
dioxus::template("./templates/blah.html")