No description
Find a file
2022-08-01 16:03:17 +08:00
.github/workflows Update docs.yml 2022-04-24 11:22:02 +08:00
.vscode feat: commit codee 2022-07-28 23:07:55 +08:00
docs [FIX] fixed typo : tailwind-css -> tailwindcss 2022-07-20 19:26:26 +02: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 feat: commit file download 2022-08-01 16:03:17 +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 feat: commit file download 2022-08-01 16:03:17 +08:00
Cargo.toml feat: commit file download 2022-08-01 16:03:17 +08:00
Dioxus.toml [RM] removed tailwindcss line from Dioxus.toml 2022-07-20 19:29:08 +02:00
README.md feat: change default config 2022-07-09 22:17:32 +08: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 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