document layer and service

This commit is contained in:
Evan Almloff committed 2023-09-25 12:25:21 -05:00
1 parent d994e3e722
commit d2f0f4b4b6
2 files changed
+8 -1

No files matched your search

+3 -1
View File
@@ -19,7 +19,7 @@ mod hooks;
mod hot_reload;
pub mod launch;
#[cfg(feature = "ssr")]
pub mod layer;
mod layer;
#[cfg(feature = "ssr")]
mod render;
#[cfg(feature = "ssr")]
@@ -40,6 +40,8 @@ pub mod prelude {
#[cfg(not(feature = "ssr"))]
pub use crate::html_storage::deserialize::get_root_props_from_document;
pub use crate::launch::LaunchBuilder;
#[cfg(feature = "ssr")]
pub use crate::layer::{Layer, Service};
#[cfg(all(feature = "ssr", feature = "router"))]
pub use crate::render::pre_cache_static_routes_with_props;
#[cfg(feature = "ssr")]