Remove native and web features from dioxus-html (#3006)
* remove native and web features from dioxus-html * Fix downcasting web events * Fix desktop with tokio disabled
This commit is contained in:
1 parent
677e0e7f4f
commit
cda8bb24f1
54 files changed
+1768
-1512
No files matched your search
@@ -36,8 +36,17 @@ fn check_gnu() {
|
||||
}
|
||||
}
|
||||
|
||||
fn compile_ts() {
|
||||
// If any TS files change, re-run the build script
|
||||
lazy_js_bundle::LazyTypeScriptBindings::new()
|
||||
.with_watching("./src/ts")
|
||||
.with_binding("./src/ts/native_eval.ts", "./src/js/native_eval.js")
|
||||
.run();
|
||||
}
|
||||
|
||||
fn main() {
|
||||
check_gnu();
|
||||
compile_ts();
|
||||
}
|
||||
|
||||
const EXAMPLES_TOML: &str = r#"
|
||||
|
||||
Reference in new issue
Block a user