efabd3ff66
Generate ComponentRef constants for component-scoped APIs, include global component refs only when global_exports(true) is enabled, and document/use the checked component token. req: component/003
17 lines
613 B
Rust
17 lines
613 B
Rust
//! Public authoring facade for slhx applications.
|
|
//!
|
|
//! Most application code should depend on this crate, use the proc-macros from
|
|
//! here, and import generated resources through `#[slhx::surface]`.
|
|
|
|
pub use slhx_core::*;
|
|
pub use slhx_derive::{app, component, form, handler, surface};
|
|
|
|
pub mod prelude {
|
|
pub use slhx_core::{
|
|
navigate, push, redirect, replace, Atom, BuildFingerprint, ComponentRef, CssClass,
|
|
CssClasses, Effect, EventName, Form, FormModel, FormValue, Handle, IntoEffect, KeyedSlot,
|
|
Slot,
|
|
};
|
|
pub use slhx_derive::{app, component, form, handler, surface};
|
|
}
|