hello-local
hello-local is a demo that shows how to run a progressive web app created with the app package on your local machine.
Build and run
Go to the hello-local directory:
cd $GOPATH/src/github.com/maxence-charriere/go-app/demo/hello-local
Build the hello app:
GOARCH=wasm GOOS=js go build -o app.wasm ../hello
Build the server:
go build
The current directory should look like the following:
# github.com/maxence-charriere/go-app/demo/hello-local
.
├── README.md
├── app.wasm
├── hello-local
└── main.go
Run the server:
./hello-local
Contribute
Help to develop the app package by becoming a sponsor.
Become a sponsor.