Setting up for the web

Interacting with and debugging Wasm modules will be done in the browser, which means we'll need a way to serve up a folder containing our example files. As we discussed in Chapter 2, Elements of WebAssembly - Wat, Wasm, and the JavaScript API, WebAssembly is integrated into the browser's JavaScript engine, but you'll need to make sure you're using a browser that supports it. In this section, we will provide instructions for cloning the book examples repository. We will also review how to quickly set up a local web server for testing and evaluating browser options to ensure that you're able to develop locally.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset