mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-17 02:30:50 +00:00
8 lines
179 B
JavaScript
8 lines
179 B
JavaScript
// For more comments about what's going on here, check out the `hello_world`
|
|
// example
|
|
const rust = import('./pkg/todomvc');
|
|
|
|
rust
|
|
.then(m => m.run())
|
|
.catch(console.error);
|