fix pages-example's README

This commit is contained in:
syumai 2023-11-07 22:28:43 +09:00
parent dc11f0e282
commit d0957501ef

View File

@ -29,6 +29,7 @@ go install golang.org/x/tools/cmd/gonew@latest
gonew github.com/syumai/workers/_templates/cloudflare/pages-tinygo your.module/my-app # e.g. github.com/syumai/my-app
cd my-app
go mod tidy
make build # build Go Wasm binary
make dev # start running dev server
curl http://localhost:8787/api/hello # outputs "Hello, Pages Functions!"
```