No description
Find a file
2022-11-30 09:31:42 -08:00
.fleet feat: default plugin info 2022-11-03 00:30:47 -07:00
.github/workflows update build.yml: add new target 2022-10-02 01:12:34 -04:00
.vscode feat: commit codee 2022-07-28 23:07:55 +08:00
docs Merge branch 'master' into master 2022-11-03 00:21:31 -07:00
examples feat: commit code 2022-07-26 14:25:59 +08:00
extension Refactor extension, make it easy to maintain and unique to register 2022-01-27 15:54:49 +08:00
src fix: some warning 2022-11-30 09:31:42 -08:00
tests Fix compiler errors 2022-02-09 16:11:02 +08:00
.gitignore fix: ignore .DS_Store 2022-07-24 17:55:28 +08:00
Cargo.lock Merge branch 'master' of https://github.com/mrxiaozhuox/dioxus-cli 2022-11-19 15:48:11 -08:00
Cargo.toml Merge pull request #57 from mrxiaozhuox/master 2022-11-18 18:48:38 -08:00
Dioxus.toml feat: commit code 2022-03-15 00:22:41 +08:00
README.md update: improve readability 2022-10-02 02:28:25 -04:00
rustfmt.toml update edition 2022-06-12 03:31:13 -04:00

📦 Dioxus CLI

Tooling to supercharge Dioxus projects

dioxus-cli (inspired by wasm-pack and webpack) is a tool for getting Dioxus projects up and running. It handles all of the build, bundling, development and publishing to simplify web development.

Installation

Stable

cargo install dioxus-cli

Latest

cargo install --git https://github.com/DioxusLabs/cli

Developing

cargo install --path . --debug

Now that dioxus is in the path, use dioxus --help to see the help information.

dioxus 0.1.2
Build, Bundle & Ship Dioxus Apps

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

Use dioxus create project_name to initialize a new Dioxus project.

It will be cloned from the dioxus-template repository.


Alternatively, you can specify the template path:

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