2018-05-12 VueJs データの共有 between parent and child components Vuejs 親子ならprops で可能だが、孫などには provide, injection を使う vuejs.org ただし共有できるのは data, method で computed はできない。 The provide options allows us to specify the data/methods we want to provide to descendent components. では、computed のコードを重複したくなかったら・・・ mixins で共有 vuejs.org