mirror of
https://github.com/DioxusLabs/dioxus
synced 2025-02-17 22:28:26 +00:00
* add a default head method through eval * remove the old document trait * implement document for each platform * pull out document into a dedicated crate to cut down on shared dependencies --------- Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
7 lines
232 B
Rust
7 lines
232 B
Rust
fn main() {
|
|
// If any TS files change, re-run the build script
|
|
lazy_js_bundle::LazyTypeScriptBindings::new()
|
|
.with_watching("./src/ts")
|
|
.with_binding("./src/ts/head.ts", "./src/js/head.js")
|
|
.run();
|
|
}
|