From d0957501efb66bfc4b8f614fa770df41540772c1 Mon Sep 17 00:00:00 2001 From: syumai Date: Tue, 7 Nov 2023 22:28:43 +0900 Subject: [PATCH] fix pages-example's README --- _templates/cloudflare/pages-tinygo/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/_templates/cloudflare/pages-tinygo/README.md b/_templates/cloudflare/pages-tinygo/README.md index 56b4e42..c0347ab 100644 --- a/_templates/cloudflare/pages-tinygo/README.md +++ b/_templates/cloudflare/pages-tinygo/README.md @@ -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!" ```