瀏覽代碼

change to core

Jonathan Kelley 4 月之前
父節點
當前提交
3beaaa7f4c
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      packages/core/src/lib.rs

+ 2 - 1
packages/core/src/lib.rs

@@ -87,9 +87,10 @@ pub use crate::innerlude::{
     VPlaceholder, VText, VirtualDom, WriteMutations,
 };
 
-/// The purpose of this module is to alleviate imports of many common types
+/// The purpose of this module is to alleviate imports of many common types.
 ///
 /// This includes types like [`Element`], and [`Component`].
+/// It is required to import when using the dioxus macro.
 pub mod prelude {
     pub use crate::innerlude::{
         consume_context, consume_context_from_scope, current_owner, current_scope_id,