1pub mod component;
2pub mod directives;
3pub mod extension;
4pub mod prelude;
5pub mod registry;
6pub mod snapshot;
7pub mod transport;
8
9pub use component::{LiveComponent, parse_blade_args_to_json};
10pub use extension::LiveApplicationExt;
11pub use registry::{ComponentHandler, LiveComponentHandler, LiveRegistry};
12pub use snapshot::{LiveSnapshot, SnapshotManager};
13pub use transport::{call_action_handler, live_ws_handler, serve_live_js, LiveCallRequest, LiveCallResponse};
14
15pub fn init() {
17 directives::register_live_directives();
18}
19
20pub fn routes() -> axum::Router<lumina::prelude::AppState> {
25 transport::live_routes()
26}