|
před 2 roky | |
---|---|---|
.github | před 2 roky | |
.vscode | před 3 roky | |
docs | před 2 roky | |
extension | před 3 roky | |
src | před 2 roky | |
tests | před 3 roky | |
.gitignore | před 3 roky | |
Cargo.lock | před 2 roky | |
Cargo.toml | před 2 roky | |
Dioxus.toml | před 3 roky | |
README.md | před 2 roky | |
rustfmt.toml | před 3 roky |
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.
cargo install dioxus-cli
cargo install --git https://github.com/DioxusLabs/cli
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
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