暫無描述

mrxiaozhuox 936fefbbf8 feat: commit code 3 年之前
.github 8e23f5c335 ci: release build workflow 3 年之前
.vscode 07efeda124 wip: move to tokio/axum/etc 3 年之前
extension b23e69cfbb Refactor extension, make it easy to maintain and unique to register 3 年之前
src 936fefbbf8 feat: commit code 3 年之前
tests 07efeda124 wip: move to tokio/axum/etc 3 年之前
.gitignore aebf6678a8 wip: move out of dioxus main 4 年之前
Cargo.toml b8b0303904 fix: dev server `auto-reload` 3 年之前
README.md 653ee254c0 docs: update readme 3 年之前
TODO.md 07efeda124 wip: move to tokio/axum/etc 3 年之前
out.rsx 44d7b32992 feat: publish cli 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

$ cargo install --git https://github.com/DioxusLabs/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