wasm-bindgen/examples/no_modules
Alex Crichton 56400c3738 Don't use path dependencies in examples
This commit updates all examples to not use `path` dependencies but
rather use versioned dependencies like would typically be found in the
wild. This should hopefully make the examples more copy-pastable and
less alien to onlookers!

The development of the examples remains the same where they continue to
use the `wasm-bindgen`, `js-sys`, `web-sys`, etc from in-tree. The
workspace-level `[patch]` section ensures that they use the in-tree
versions instead of the crates.io versions.
2018-11-07 11:27:43 -08:00
..
src Remove use_extern_macros features 2018-08-19 14:33:01 -07:00
.gitignore Add an example of --no-modules in action 2018-04-19 07:21:09 -07:00
build.sh Promote CI jobs to using stable Rust 2018-10-28 13:28:02 -07:00
Cargo.toml Don't use path dependencies in examples 2018-11-07 11:27:43 -08:00
index.html Fix the no_modules example by fixing --browser 2018-10-03 15:54:57 -07:00
README.md Reorganize and rewrite examples 2018-09-20 16:45:30 -07:00

Using --no-modules

View documentation for this example online

You can build the example locally with:

$ ./build.sh

(or running the commands on Windows manually)

and then opening index.html in a browser should run the example!