You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dx serve --no-default-features --server, but it starts the client as well
cargo r --no-default-features --features server, but it dies with
thread 'main' (1046326) panicked at $HOME/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/dioxus-server-0.7.2/src/server.rs:413:29:Couldn't read public directory at "$PWD/target/debug/public": No such file or directory (os error 2)note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
supposedly it happens because it would like to serve the client, but can't, right?
how could one avoid requiring an App in the server?
serving only the client
tried:
dx serve --web, as there's absolutely no server feature enabled here AFAIK, still, it starts the server
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
i.e. how to
dx serveclient without server and server without clientgoal
running server and client on a seperate port
tries
Cargo.toml features:
main.rs
serving only the server
tried:
dx serve --no-default-features --server, but it starts the client as wellcargo r --no-default-features --features server, but it dies withsupposedly it happens because it would like to serve the client, but can't, right?
how could one avoid requiring an
Appin the server?serving only the client
tried:
dx serve --web, as there's absolutely noserverfeature enabled here AFAIK, still, it starts the serverBeta Was this translation helpful? Give feedback.
All reactions