Why is it that when I copy the HTML generated by vue in inspect element all @click event is gone ?
Does anyone have idea how vue works ?
Why is it that when I copy the HTML generated by vue in inspect element all @click event is gone ?
Does anyone have idea how vue works ?
Your question is not really clear... But what I can say is that Vue.js use something call virtual DOM. So what you code is not what is showed in the browser.
You can read this article for more details : https://medium.com/js-dojo/whats-the-deal-with-vue-s-virtual-dom-3ed4fc0dbb20