0👍
You need to put the listener on the component where its come from, not on some div
<HelloWorld @whats-up="notMuch" msg="Hello Vue in CodeSandbox!"/>
- [Vuejs]-How I can add data-icon attribute in select option using vue.js
- [Vuejs]-Cannot figure out how to assign a callbacks return value into another property (Vue.js)
0👍
You should listen to whats-up
event in HelloWorld component. Code Should be like it
<HelloWorld @whats-up="notMuch" msg="Hello Vue in CodeSandbox!"/>
- [Vuejs]-Is it possible to add HTML elements in which store some data in Vue?
- [Vuejs]-Axios.get data from Mysql DB. Vue.js, Laravel
Source:stackexchange.com