Closed soypat closed 3 years ago
Have you looked at the examples? https://github.com/hexops/vecty/tree/main/example
Have you looked at the examples? https://github.com/hexops/vecty/tree/main/example
This is useful! May I add a PR to add it to README.md? I usually look there for use cases, users, examples- and I'm sure I'm not the only one
@VinceJnz Running gopherjs build
or gopherjs serve
just leaves me with a blank page on todomvc
... there's no index.html or anything to visualize the example. What Am I supposed to do?
Sorry I can't help you with gopherjs.
I have been building the wasm in go using the following:
set GOOS=js
set GOARCH=wasm
go build -o main.wasm
As noted, examples and instructions for usage are found in https://github.com/hexops/vecty/blob/main/example/README.md
Also, as the README calls out - Vecty is still experimental and hence documentation is intentionally lacking at this stage. You can read more about that here: https://github.com/hexops/vecty#current-status
Feel free to send a PR to link to example/README.md
from the main README if you think that'd be helpful for others!
I really have no idea how to start using this framework. There is nothing to go on at a glance.
An example of proper examples/documentation would be https://github.com/gin-gonic/gin#api-examples 's API section
For example: How do I go about generating the html for my page?? How would I even use that in a project?