Vue.js passing data between components
问题 I want to store input-value from App.vue, and use it in another component. How can I do it? I don't need the show the value in the template, I just need the value inside other components function. In JS I could just use a global var, but how can I achieve it in Vue? App.vue: <template> <div id='app'> <!-- App.vue has search bar --> <b-form-input @keydown='search' v-model='input'></b-form-input> <div> <!-- Here's my other components --> <router-view /> </div> </div> </template> <script> export