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
This is a slight mix between "feature request" and (potentially) bug report.
If a base_path is defined in Dioxus.toml, when I run dx serve locally it serves at http://127.0.0.1:8080. It would seem beneficial to at least have a link to http://127.0.0.1:8080/{base_path}.
I'm currently using the 0.6 alpha.4 tagged version of dioxus-cli.
Additional Clarification (and potential bug??)
The base_path is currently defined as "name/app" without any trailing '/' character.
(i.e. with leading '/' as mentioned in the alpha-4 notes).
If I navigate to http://127.0.0.1:8080/name/app the app appears, but without the css styling applied.
If I navigate to http://127.0.0.1:8080/name/app/ (with trailing "/") the app appears with styling appropriately applied.
The text was updated successfully, but these errors were encountered:
nigeleke
changed the title
dx serve to serve http://127.0.0.1:8080/{base_path}dx serve should serve http://127.0.0.1:8080/{base_path} not just route
Nov 4, 2024
@jkelleyrtp / @ealmloff There may be two issues here; my main question was around the "serving at ..." when performing dioxus serve. I was expecting that to include the base path. I have retried here with dioxus 0.6.0-rc.0 (5bfdc03) and the issue still appears.
Feature Request
This is a slight mix between "feature request" and (potentially) bug report.
If a
base_path
is defined inDioxus.toml
, when I rundx serve
locally it serves athttp://127.0.0.1:8080
. It would seem beneficial to at least have a link tohttp://127.0.0.1:8080/{base_path}
.I'm currently using the 0.6 alpha.4 tagged version of dioxus-cli.
Additional Clarification (and potential bug??)
The
base_path
is currently defined as "name/app" without any trailing '/' character.Assets are included in my program as:
(i.e. with leading '/' as mentioned in the alpha-4 notes).
If I navigate to
http://127.0.0.1:8080/name/app
the app appears, but without the css styling applied.If I navigate to
http://127.0.0.1:8080/name/app/
(with trailing "/") the app appears with styling appropriately applied.The text was updated successfully, but these errors were encountered: