Browse Source

feat: add feature flag for liveview in lib

Jonathan Kelley 3 năm trước cách đây
mục cha
commit
014eb974f7
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      src/lib.rs

+ 3 - 0
src/lib.rs

@@ -14,6 +14,9 @@ pub use dioxus_ssr as ssr;
 #[cfg(feature = "web")]
 pub use dioxus_web as web;
 
+#[cfg(feature = "liveview")]
+pub use dioxus_liveview as liveview;
+
 #[cfg(feature = "desktop")]
 pub use dioxus_desktop as desktop;