-
-
Notifications
You must be signed in to change notification settings - Fork 369
Home
Maxence Charriere edited this page Mar 6, 2020
·
37 revisions
Welcome to the go-app wiki, a collection of information about how to build a progressive web app with the go-app package.
go get -u -v github.com/maxence-charriere/go-app/pkg/app
# Build wasm app:
GOARCH=wasm GOOS=js go build -o app.wasm
# Install wasm test env:
go get -u github.com/agnivade/wasmbrowsertest && \
mv $GOPATH/bin/wasmbrowsertest $GOPATH/bin/go_js_wasm_exec
# Test wasm app:
GOARCH=wasm GOOS=js go test