Connects Rekindle's Web artifacts to a Phoenix endpoint.
The installer adds the development endpoint plug and static delivery. In
production, web_entry_path/1 resolves the Web entry module through the
application's Phoenix static-path implementation. web_host/1 supplies the
host markup required by the selected UI integration.
Summary
Functions
Returns the Phoenix static path for the Web entry module.
Returns the trusted Web host markup for a built-in integration.
Types
Functions
Returns the Phoenix static path for the Web entry module.
Loading the returned path as a JavaScript module starts the immutable
generation selected by mix rekindle.build web --release.
@spec web_host(integration()) :: String.t()
Returns the trusted Web host markup for a built-in integration.
GPUI does not require a host element. egui and Slint return their required
canvas elements. The returned markup is fixed by Rekindle and can be rendered
with Phoenix.HTML.raw/1.