This directory contains an example on how to run the VM in a browser.
The example does these things:
- Instantiates a VM
- Set ups a listener of the VM's
stepevent - Runs a sample code in the VM
- Logs the results
- Run
npm installin the root of this project - Run
npm installin this directory
First, follow these instructions:
- Run
npm run build:distin the root of this project
- Run
npm run example:nodein this directory
npm run example:browser- Open http://localhost:8080 in a browser and check the result in web console.