Vinicius Gobbo Antunes de Oliveira fa39408d58 If mkcert not enabled, require cert_path and key_path to be specified or error. (#1342) 1 年之前
..
.github a9d7b4d32a Prepare CLI for move into mainline 2 年之前
.vscode a9d7b4d32a Prepare CLI for move into mainline 2 年之前
docs a77ff1c820 docs(cli): update subcommand comments (#1303) 1 年之前
examples a9d7b4d32a Prepare CLI for move into mainline 2 年之前
src fa39408d58 If mkcert not enabled, require cert_path and key_path to be specified or error. (#1342) 1 年之前
tests 03e02591ec fix(cli): allows extracting files without separate directory entries 1 年之前
.gitignore a9d7b4d32a Prepare CLI for move into mainline 2 年之前
Cargo.lock a9d7b4d32a Prepare CLI for move into mainline 2 年之前
Cargo.toml 3e24b3d34a Publish CLI binaries for cargo-binstall (#1358) 1 年之前
Dioxus.toml 16763c065b Rename dioxus to dx in examples and fullstack 1 年之前
README.md 16763c065b Rename dioxus to dx in examples and fullstack 1 年之前
build.rs a9d7b4d32a Prepare CLI for move into mainline 2 年之前

README.md

📦✨ 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 build, bundling, development and publishing to simplify web development.

Installation

Install stable version

cargo install dioxus-cli

Install from git repository

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

Install from local folder

cargo install --path . --debug

Get Started

Use dx 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:

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

Dioxus Config File

Dioxus CLI will use Dioxus.toml file to Identify some project info and switch some cli feature.

You can get more configure information from Dioxus CLI Document.