Skip to content
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.

Table of Contents

Install

go get -u -v github.com/maxence-charriere/go-app/pkg/app

Commands

# 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
Clone this wiki locally