Sharing Data Between Components in Vue.js

added by JavaScript Kicks
11/30/2018 9:44:19 AM

799 Views

In this tutorial, we'll explore generating data in one component, and passing it to another in Vue.js. TL;DR Here is an example of a working CodeSandbox https://codesandbox.io/s/l4yj6jxpqz Why would we need to do this? If you've worked on a large-scale Vue application, chances are, at some point you've wanted to generate data in one component and then do something with it in a separate component.


0 comments