vecty-examples
Basic usage of Vecty framework examples.
Instructions
- Change directory to the folder with the example you wish to run
- Run
wasmserve
. To install:go install github.com/hajimehoshi/wasmserve@latest
- Navigate in browser to localhost:8080
IDE Protip
Add build tags js,wasm
to go tooling. In VSCode you may add a .vscode
folder with a settings.json
configuration file with the following contents:
{
"go.buildTags": "js,wasm"
}
This will cause intellisense to work correctly.