Нема описа

YuKun Liu 79df0d0f74 Fixed workflows пре 3 година
.github 79df0d0f74 Fixed workflows пре 3 година
.vscode 07efeda124 wip: move to tokio/axum/etc пре 3 година
docs f203b5f99d Move `docs` to cli repo пре 3 година
extension b23e69cfbb Refactor extension, make it easy to maintain and unique to register пре 3 година
src 001410f119 Format code пре 3 година
tests ce628e1197 Fix compiler errors пре 3 година
.gitignore eb7388794a Replace struct-opt with clap пре 3 година
Cargo.toml 714c6dd46f Upgrade `axum` version пре 3 година
Dioxus.toml 3514e34112 feat: commit code пре 3 година
README.md 8a0abec828 Update README.md пре 3 година
TODO.md 07efeda124 wip: move to tokio/axum/etc пре 3 година
out.rsx 44d7b32992 feat: publish cli пре 3 година
rustfmt.toml 6271221940 Fix format and clippy пре 3 година
test.html 44d7b32992 feat: publish cli пре 3 година

README.md

📦✨ 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

# for stable
$ cargo install dioxus-cli
# for latest
$ cargo install --git https://github.com/DioxusLabs/cli
# for developing
$ cargo install --path . --debug

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 [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 create 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