Skip to content

base_path does not work with dx bundle #3942

@Gisleburt

Description

@Gisleburt

Problem

dx bundle doesn't work with base_path

Steps To Reproduce

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcliRelated to the dioxus-cli programssg

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions