-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
bugSomething isn't workingSomething isn't workingcliRelated to the dioxus-cli programRelated to the dioxus-cli programssg
Description
Problem
dx bundle
doesn't work with base_path
Steps To Reproduce
- Set up SSG following https://dioxuslabs.com/learn/0.6/guides/fullstack/static_site_generation
- Set a
base_path
inDioxus.toml
- Attempt to run
dx bundle
I've created a minimum repo that demonstrates this bug with a README here: https://github.com/Gisleburt/dioxus-base-path-issue
Expected behavior
Static Site Generation should create a bundle that opperates from base_path
Build Log
ERROR err=Other(Failed to parse static routes from the server. Make sure your server function returns Vec<String> with the (default) json encoding
Environment:
- Dioxus version: v0.6.0
- Rust version: v1.84.1
- OS info: macOS
- App platform: web
Questionnaire
I'm interested in fixing this myself but don't know where to start.
mobilespace-dev and DougAnderson444
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcliRelated to the dioxus-cli programRelated to the dioxus-cli programssg