Document _app crate convention for Dioxus WASM frontends #48
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_skills#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