No description
Find a file
2022-02-09 21:25:29 +08:00
.github/workflows ci: release build workflow 2022-01-10 15:21:26 +08:00
.vscode wip: move to tokio/axum/etc 2021-12-29 12:03:21 -05:00
extension Refactor extension, make it easy to maintain and unique to register 2022-01-27 15:54:49 +08:00
src fix: clean out_dir 2022-02-09 21:25:29 +08:00
tests wip: move to tokio/axum/etc 2021-12-29 12:03:21 -05:00
.gitignore wip: move out of dioxus main 2021-07-07 16:54:14 -04:00
Cargo.toml fix: dev server auto-reload 2022-01-27 12:09:54 +08:00
out.rsx feat: publish cli 2022-01-09 00:23:58 -05:00
README.md docs: update reamde 2022-02-05 09:11:44 +08:00
test.html feat: publish cli 2022-01-09 00:23:58 -05:00
TODO.md wip: move to tokio/axum/etc 2021-12-29 12:03:21 -05:00

📦 dioxus-cli

Tooling to supercharge dioxus projects

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 simple.

Installation

$ cargo install dioxus-cli

Now, dioxus is in your path, you can use dioxus --help to get the help document.

dioxus 0.1.2
Build, bundle, & ship your Dioxus app

USAGE:
    dioxus.exe [FLAGS] <SUBCOMMAND>

FLAGS:
    -h, --help       Prints help information
    -v               Enable verbose logging
    -V, --version    Prints version information

SUBCOMMANDS:
    build        Build the Rust WASM app and all of its assets
    clean        Clean output artifacts
    config       Dioxus config file controls
    create       Init a new project for Dioxus
    help         Prints this message or the help of the given subcommand(s)
    serve        Build, watch & serve the Rust WASM app and all of its assets
    translate    Translate some source file into Dioxus code

Get Started

You can use the dioxus crate project_name to init a dioxus project, its will be clone from the dioxus-template.

or you can assign the template path:

dioxus create hello --template gh:dioxuslabs/dioxus-template