ソースを参照

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,