Sem descrição

YuKun Liu 3fe3598f51 Merge pull request #70 from xTeKc/readme há 2 anos atrás
.github 99a7f68a28 update build.yml: add new target há 2 anos atrás
.vscode 07efeda124 wip: move to tokio/axum/etc há 3 anos atrás
docs 7aa8feaa49 [FIX] fixed typo : tailwind-css -> tailwindcss há 3 anos atrás
extension b23e69cfbb Refactor extension, make it easy to maintain and unique to register há 3 anos atrás
src 3bee0308fc update to match readme há 2 anos atrás
tests ce628e1197 Fix compiler errors há 3 anos atrás
.gitignore 98134cfe1c feat: commit Cargo.lock há 3 anos atrás
Cargo.lock 9364119734 Update Cargo.lock há 2 anos atrás
Cargo.toml 6d9ec38eac update for notify 5.0.0-pre.16 há 2 anos atrás
Dioxus.toml 3514e34112 feat: commit code há 3 anos atrás
README.md 555680df99 update: improve readability há 2 anos atrás
rustfmt.toml d1c619e5dc update edition há 3 anos atrás

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 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