mirror of
https://github.com/syumai/workers.git
synced 2025-03-10 17:29:11 +00:00
fix pages-example's README
This commit is contained in:
parent
dc11f0e282
commit
d0957501ef
@ -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!"
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user