Vue.js Tutorial From Scratch - e08 - Custom Events Passing Data from Child to Parent Component
Coder's Tape
0:00 / 0:00
Vue.js Tutorial From Scratch - e08 - Custom Events Passing Data from Child to Parent Component
23 695 просмотров · 7 л. назад
Coder's Tape
59,4 тыс. подписчиков
23 695 просмотров · 7 л. назад
Now that we have a nice modern npm and webpack build, let's tackle getting our components to communicate. In Vue, this is done using custom events. We can emit an event on our child component and then listen for that event on our parent event. Follow along as we code a simple example from scratch.
For the best experience, follow along in our interactive school at https://www.coderstape.com
Resources
Vue.js Documentation
https://vuejs.org/v2/guide/
Download VSCode
https://code.visualstudio.com/
DigitalOcean Referral
https://m.do.co/c/7dce5364ef4d
Hit us up on Twitter with any questions or comments @codertape ( / coderstape )
About This Course
Modern applications require a robust Javascript framework. In this series, we are exploring Vue.js from scratch, covering all topics of writing Javascript code that is maintainable, performant and best of all powerful.