norunners / vue Goto Github PK
View Code? Open in Web Editor NEWThe progressive framework for WebAssembly applications.
License: MIT License
The progressive framework for WebAssembly applications.
License: MIT License
$go get -u github.com/norunners/vue
go: finding github.com/norunners/vue latest
go: finding golang.org/x/net latest
go: finding github.com/norunners/vdom latest
# github.com/norunners/vdom
../../../go/pkg/mod/github.com/norunners/[email protected]/diff.go:3:28: undefined: PatchSet
../../../go/pkg/mod/github.com/norunners/[email protected]/diff.go:4:15: undefined: Patcher
../../../go/pkg/mod/github.com/norunners/[email protected]/diff.go:11:31:undefined: Patcher
../../../go/pkg/mod/github.com/norunners/[email protected]/diff.go:19:33:undefined: Append
../../../go/pkg/mod/github.com/norunners/[email protected]/diff.go:29:33:undefined: Remove
../../../go/pkg/mod/github.com/norunners/[email protected]/diff.go:41:33:undefined: Replace
../../../go/pkg/mod/github.com/norunners/[email protected]/diff.go:66:32:undefined: Patcher
../../../go/pkg/mod/github.com/norunners/[email protected]/diff.go:72:33:undefined: RemoveAttr
../../../go/pkg/mod/github.com/norunners/[email protected]/diff.go:84:33:undefined: SetAttr
../../../go/pkg/mod/github.com/norunners/[email protected]/diff.go:95:33:undefined: SetAttr
../../../go/pkg/mod/github.com/norunners/[email protected]/diff.go:95:33:too many errors
I’m working with your library on a web project. I need to emit an event and catch it in a parent module.
It looks like the $emit feature has not been implemented yet: https://vuejs.org/v2/guide/components-custom-events.html
If I’m not mistaken, I’d like to implement it and send you a pull request. Do you accept pull requests?
If it has been implemented and I missed it, kindly point me in the right direction.
Thanks in advance!
Steve
What a trash system, web assembly?
No but really, nothing but love for no runners
Looking to get started with Go’s WebAssembly pkg and this repo caught my attention in a list in the docs on the official golang/go GitHub.
As a Vue developer by job function this is interesting to me but I noticed there hasn’t been commits to master
since April of 2019 and none to any branch since the following month.
Please consider posting a project status header in your main README and anywhere else you think appropriate so devs like myself know whether it’s worth investing time in or not.
Specifically asking:
Hi Norunners
When I follow your guidelines and run “wasmgo serve” in example dir(06-two-way-data-binding).Everything is very better.
But When I copy code to my project and run .When I change input value, the demo raise error :"Go program has already exited"
My code list:
main.go
const tmpl = `
{{ Message }}
`
func main(){
vue.New(
vue.El("#app"),
vue.Template(tmpl),
vue.Data(Data{Message: "Hello WebAssembly!"}),
)
select {}
}
index.html
<script src="wasm_exec.js"></script> <script> const go = new Go(); WebAssembly.instantiateStreaming(fetch("main.wasm"), go.importObject).then((result) => { go.run(result.instance); }); </script>goexec 'http.ListenAndServe(":8080", http.FileServer(http.Dir(".")))'
my go version:
go version go1.12.7 darwin/amd64
I am run code on MacOS 64
Please you to help me.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.