I faced problems when i wanted to externalize logic inside Services. How to share them between component ? How to injeect them in component ? I didn’t find any dependancy injection pattern for VueJs.
VueJS vs Angular in an app contest
Benjamin RICHARD
73

You can just import the different services in your components, or use vuex (recommended). If you really want to inject dependencies, there is a provide/inject feature similar to React context: https://vuejs.org/v2/api/#provide-inject

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.