fix the macro export and WIP hot reloading docs
This commit is contained in:
1 parent
19aaa0ee5b
commit
82048737f4
5 files changed
+51
-11
No files matched your search
@@ -17,12 +17,14 @@ dioxus-html = { path = "../html", version = "^0.3.0", optional = true }
|
||||
dioxus-core-macro = { path = "../core-macro", version = "^0.3.0", optional = true }
|
||||
dioxus-hooks = { path = "../hooks", version = "^0.3.0", optional = true }
|
||||
dioxus-rsx = { path = "../rsx", version = "0.0.2", optional = true }
|
||||
dioxus-hot-reload = { path = "../hot-reload", version = "0.1.0", optional = true }
|
||||
|
||||
[features]
|
||||
default = ["macro", "hooks", "html"]
|
||||
default = ["macro", "hooks", "html", "hot-reload"]
|
||||
macro = ["dioxus-core-macro", "dioxus-rsx"]
|
||||
html = ["dioxus-html"]
|
||||
hooks = ["dioxus-hooks"]
|
||||
hot-reload = ["dioxus-hot-reload"]
|
||||
|
||||
|
||||
[dev-dependencies]
|
||||
|
||||
@@ -31,4 +31,7 @@ pub mod prelude {
|
||||
|
||||
#[cfg(feature = "html")]
|
||||
pub use dioxus_elements::{prelude::*, GlobalAttributes, SvgAttributes};
|
||||
|
||||
#[cfg(feature = "hot-reload")]
|
||||
pub use dioxus_hot_reload::hot_reload_init;
|
||||
}
|
||||
Reference in new issue
Block a user