dioxus
dioxus copied to clipboard
Dioxus.toml file did not take effect
Problem
Dioxus.toml file did not take effect
../test-dx % dx build
0. 2s INFO Building project...
0.203s ERROR err=Other(No platform was specified and could not be auto-detected. Please specify a platform
with `--platform <platform>` or set a default platform using a cargo feature.)
Steps to reproduce the behavior:
- 1.dx new
- 2.modify Dioxus.toml
- 3.dx build
Expected behavior
will generate a dist folder
Screenshots
Environment:
- Dioxus version: 0.6.1
- Rust version: 1.83.0
- OS info: macos 14.4
- App platform: web
The default platform setting was removed from the Dioxus.toml. See https://github.com/DioxusLabs/dioxus/issues/3368
https://github.com/DioxusLabs/docsite/pull/371 removes this field from the docs