Transfer Data With Event Bus In Vue JS
9.8 هزار بار بازدید -
5 سال پیش
-
How you can transfer data
How you can transfer data with the event bus in Vue JS. Vue has a powerful built-in event bus you can try. And the trick is to use a separate Vue instance for this event bus. What you’ are essentially getting is a component that’s entirely decoupled from the DOM or the rest of your app. All that exists on it are its instance methods, so it’s pretty lightweight.
And in the end, you can use this event bus here as a nice shortcut, to transfer data between your components.
You like this video? See the next one: Learn How To Use Slots In Vue JS
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
🎓 Tutorials for Beginners and Advanced
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
↪︎ Learn Vue JS - From The Ground Up: Learn Vue JS - From The Ground Up
↪︎ Learn Vue JS - Additional Libraries: Learn Vue JS - Additional Libraries
↪︎ Best Vue JS Tips and Tricks: Best Vue JS Tips and Tricks
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
👫 Support
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
↪︎ Buy me a coffee (https://www.buymeacoffee.com/webnoob)
↪︎ PayPal (https://www.paypal.me/webnoob)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
📣 Social Media and Websites
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
↪︎ My Website (https://www.webnoob.dev/)
↪︎ Twitter (Twitter: webnoobcodes)
↪︎ Instagram (Instagram: webnoobcodes)
↪︎ GitHub (https://github.com/webnoobcodes)
↪︎ Codepen (https://codepen.io/webnoobcodes)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
📌 About Channel/Me
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
WEBNOOB, your channel for quality videos about web development and web design. My name is Mario and I have been working as a full-stack web developer for many years and I like to share my entire experience with you. Some tutorial videos are meant for beginners, and some are for more experienced users. The core topics at the beginning of my YouTube journey are HTML, CSS, Javascript and Vue.js. More in the future.
If you have any questions about web development or any of my video tutorials, or you have a topic that you would like to see in one of my next videos, you can leave a message on YouTube or contact me on Twitter @webnoobcodes
You want to learn more about web design and web development? Then you are exactly right here. I will post video tutorials weekly, so please stay tuned and subscribe.
https://www.youtube.com/webnoob?sub_c...
And don't forget to hit the bell to keep you up to date.
Stay tuned and maximize your skills.
Let's code a better web, together.
Copyright by Mario Laurich / webnoob
#vuejs #vuejsbasics #webnoob
And in the end, you can use this event bus here as a nice shortcut, to transfer data between your components.
You like this video? See the next one: Learn How To Use Slots In Vue JS
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
🎓 Tutorials for Beginners and Advanced
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
↪︎ Learn Vue JS - From The Ground Up: Learn Vue JS - From The Ground Up
↪︎ Learn Vue JS - Additional Libraries: Learn Vue JS - Additional Libraries
↪︎ Best Vue JS Tips and Tricks: Best Vue JS Tips and Tricks
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
👫 Support
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
↪︎ Buy me a coffee (https://www.buymeacoffee.com/webnoob)
↪︎ PayPal (https://www.paypal.me/webnoob)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
📣 Social Media and Websites
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
↪︎ My Website (https://www.webnoob.dev/)
↪︎ Twitter (Twitter: webnoobcodes)
↪︎ Instagram (Instagram: webnoobcodes)
↪︎ GitHub (https://github.com/webnoobcodes)
↪︎ Codepen (https://codepen.io/webnoobcodes)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
📌 About Channel/Me
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
WEBNOOB, your channel for quality videos about web development and web design. My name is Mario and I have been working as a full-stack web developer for many years and I like to share my entire experience with you. Some tutorial videos are meant for beginners, and some are for more experienced users. The core topics at the beginning of my YouTube journey are HTML, CSS, Javascript and Vue.js. More in the future.
If you have any questions about web development or any of my video tutorials, or you have a topic that you would like to see in one of my next videos, you can leave a message on YouTube or contact me on Twitter @webnoobcodes
You want to learn more about web design and web development? Then you are exactly right here. I will post video tutorials weekly, so please stay tuned and subscribe.
https://www.youtube.com/webnoob?sub_c...
And don't forget to hit the bell to keep you up to date.
Stay tuned and maximize your skills.
Let's code a better web, together.
Copyright by Mario Laurich / webnoob
#vuejs #vuejsbasics #webnoob
5 سال پیش
در تاریخ 1398/06/14 منتشر شده
است.
9,812
بـار بازدید شده