dioxus icon indicating copy to clipboard operation
dioxus copied to clipboard

Dioxus.toml file did not take effect

Open cj495840252 opened this issue 1 year ago • 1 comments

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 image

Environment:

  • Dioxus version: 0.6.1
  • Rust version: 1.83.0
  • OS info: macos 14.4
  • App platform: web

cj495840252 avatar Jan 04 '25 13:01 cj495840252

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

ealmloff avatar Jan 06 '25 15:01 ealmloff