.cargo/vendor/wasm-bindgen/examples/import_js/README.md
raw| 1 | # Importing non-browser JS |
| 2 | |
| 3 | [View documentation for this example online][dox] or [View compiled example |
| 4 | online][compiled] |
| 5 | |
| 6 | [compiled]: https://rustwasm.github.io/wasm-bindgen/exbuild/import_js/ |
| 7 | [dox]: https://rustwasm.github.io/docs/wasm-bindgen/examples/import-js.html |
| 8 | |
| 9 | You can build the example locally with: |
| 10 | |
| 11 | ``` |
| 12 | $ npm run serve |
| 13 | ``` |
| 14 | |
| 15 | and then visiting http://localhost:8080 in a browser should run the example! |