Skip to content

Instantly share code, notes, and snippets.

@justinyoo justinyoo/app.ts Secret

Created Mar 22, 2017
What would you like to do?
Using IoC Container in Vue.js and TypeScript App
// App.ts
import Vue from "vue";
import Component from "vue-class-component";
import SERVICE_IDENTIFIER from "./models/Identifiers";
import container from "./configs/DependencyConfigs";
name: "App",
// Provides IoC container at the top level of VueComponent
provide: {
export default class App extends Vue {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.