Skip to content

docs: Document WASM subdirectory hosting - #24244

Merged
MartinZikmund merged 1 commit into
unoplatform:masterfrom
SergioAlmeida29:opencode/issue-22913
Nov 11, 2026
Merged

MartinZikmund merged 1 commit into
unoplatform:masterfrom
SergioAlmeida29:opencode/issue-22913

Conversation

@SergioAlmeida29

Copy link
Copy Markdown
Contributor

GitHub Issue: closes #22913

PR Type:

📚 Documentation content changes

What changed? 🚀

Added guidance for hosting Uno WebAssembly apps under subdirectories and GitHub Pages using WasmShellWebAppBasePath=./, including publish commands, relative asset behavior, and the deep-link fallback limitation.

PR Checklist ✅

  • 🧪 Added Runtime tests, UI tests, or a manual test sample (not applicable to documentation)
  • 📚 Docs have been updated following the documentation conventions
  • 🖼️ Validated PR Screenshots Compare Test Run results (not applicable)
  • ❗ Contains NO breaking changes

Testing

  • Markdownlint passed
  • cSpell passed
  • DocFX rendered the updated page
  • git diff --check passed

Disclosure

Documentation-only change. No runtime or production behavior changed.

Copilot AI lite review requested due to automatic review settings August 27, 2026 15:13

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@unodevops

Copy link
Copy Markdown
Contributor

@morning4coffe-dev morning4coffe-dev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed a38541543171. The documented override matches the SDK's default root base path and the referenced bootstrapper's URL generation.

I traced the net10 bootstrapper pin (10.1.0-dev.214, source commit 1e094106842f): WebAppBasePath is passed into asset generation, index/config/dependency URLs use it, and the runtime's framework import is relative to the generated bootstrap module. Setting ./ keeps the resources relative to the deployed app directory. The package targets also use PublishDir/wwwroot for published framework/config assets, consistent with the documented output layout.

The deep-link caveat is important and correctly retained: relative asset addressing does not configure the hosting server's unknown-route behavior. A fallback must also preserve an appropriate base URL for the app.

Validation scope: SDK/package-target and pinned bootstrapper source inspection, not a new publish or GitHub Pages deployment.

@mergify

mergify Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

This pull request is merged.

@MartinZikmund
MartinZikmund merged commit 2b21ad5 into unoplatform:master Nov 11, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Docs] Feedback: Hosting a WebAssembly App

5 participants