dioxus icon indicating copy to clipboard operation
dioxus copied to clipboard

README doesn't explain how to run examples

Open jacklund opened this issue 1 year ago • 0 comments

Problem

The README section on "Running the examples" says:

The examples in the top level of this repository can be run with cargo run --example . However, we encourage you to download the dioxus-cli and run the examples with dx serve since many examples also support web. When running for web, you either need to modify the Cargo.toml to disable the default desktop feature, or use

Sort of like:

image

It literally stops there. I'm interested in running the examples with dx serve, but someone didn't complete the sentence there. It's also not clear how one would go about modifying the Cargo.toml to disable the default desktop feature (unless that also is in the part that was left off).

Steps To Reproduce

Steps to reproduce the behavior:

Read the README

Expected behavior

Instructions on how to run the examples using dx serve

Screenshots

Environment:

  • Dioxus version:
  • Rust version:
  • OS info:
  • App platform:

Questionnaire

  • [ ] I'm interested in fixing this myself but don't know where to start
  • [ ] I would like to fix and I have a solution
  • [ ] I don't have time to fix this right now, but maybe later

jacklund avatar Aug 10 '24 05:08 jacklund