aex/src/lib.rs

31 lines
524 B
Rust

#![feature(type_alias_impl_trait)]
pub mod app;
#[allow(unused_imports)]
use leptos::prelude::*;
#[macro_use]
extern crate log;
#[allow(unused_imports)]
#[macro_use]
extern crate anyhow;
pub (crate) mod prelude;
pub mod entities;
pub mod state;
pub mod utils;
pub mod statics;
mod components;
#[allow(unused_imports)]
use prelude::*;
#[cfg(feature = "hydrate")]
#[wasm_bindgen::prelude::wasm_bindgen]
pub fn hydrate() {
use app::*;
console_error_panic_hook::set_once();
leptos::mount::hydrate_body(App);
}