Skip to content

docs(router): explain Webpack SPA fallback configuration #7786

Description

@LadyBluenotes

Goal

Document the Webpack settings required for client-side routing to work on direct loads and refreshes.

Scope

  • Explain devServer.historyApiFallback for serving the application shell on nested routes.
  • Explain output.publicPath, including how deployments under a subpath need their actual public base.
  • Keep the maintained React and Solid Webpack quickstarts aligned with the guide.
  • Add Webpack E2E coverage for a direct load or refresh at a nested route.

Related Work

This continues the documentation work from #4677

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions