2021-07-07 16:54:14 -04:00
2021-10-10 15:42:16 -04:00
2021-07-07 16:54:14 -04:00
2021-09-23 13:33:22 -04:00
2021-07-07 16:54:40 -04:00

📦✨ dioxus-Studio

Tooling to supercharge dioxus projects

About


dioxus-cli (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:

  • No NPM.
  • No Webpack.
  • No node_modules.
  • No Babel
  • No parcel
  • No rollup
  • No ESLint

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 build your code into a bundle? dioxus build --outdir public

Need to publish your code to GitHub pages, Netlify, etc? dioxus publish --ghpages myrepo.git

Use in your project


Sometimes you'll want to include static assets without bundling them into your .wasm content. dioxus-cli provides a few ways of doing this:

  • Load in dynamic content using dioxus::asset("./static/images/blah.svg")
  • Live-reload HTML templates without rebuilding your .wasm with dioxus::template("./templates/blah.html")
  • Use a CSS library like tailwind in your dioxus configuration with
S
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
Readme
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%