So I want to pass props to an Vue component, but I expect these props to change in future from inside that component e.g. when I update that Vue component from inside using AJAX. So they are only for initialization of component. My cars-list Vue component element where I pass props with initial properties to single-car: The way I do
Tag: vuejs2
Communication between sibling components in Vue.js 2.0
Overview In Vue.js 2.x, model.sync will be deprecated. So, what is a proper way to communicate between sibling components in Vue.js 2.x? Background As I understand Vue.js 2.x, the preferred method for sibling communication is to use a store or an event bus. According to Evan (creator of Vue.js): It’s also worth mentioning “passing data between components” is generally a