Document _app crate convention for Dioxus WASM frontends #48
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The hero_service skill defines three crate suffixes:
_server,_sdk,_ui. However, some services (likehero_os) have a Dioxus WASM frontend crate that compiles to static assets. This crate was originally namedhero_os_ui, which conflicted with the_uisuffix reserved for the Axum HTTP admin panel.Solution
Introduce the
_appsuffix for Dioxus WASM frontend crates:_app= build-time crate, compiles Rust to WASM assets viadx build_ui= deployed service, serves those assets + proxies/rpcto_server_appis not a deployed service — no socket, no binary, no TOML definitionExample:
hero_os_appcompiles to WASM,hero_os_uiserves those assets.Affected repos
hero_os— renamedhero_os_ui(Dioxus) →hero_os_appin PR #19