소스 검색

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,