1×
Become a member
to unlock all features
Autoplay

    Use Dependency Injection in Vue Using @Inject and @Provide Decorators with TypeScript

    vueVue.js
    ^2.2.6

    Vue 2.2 introduced a simple dependency injection system, allowing you to use provide and inject in your component options. This lesson shows you how to use them using the @Inject and @Provide decorators in tandem!