Skip to content

Instantly share code, notes, and snippets.

@justinyoo justinyoo/parent-component.vue Secret
Created Mar 21, 2017

What would you like to do?
Using IoC Container in Vue.js and TypeScript App
// ParentComponent.vue
import ChildComponent from './ChildComponent'
const MyDependency = {
foo: 'bar'
export default {
name: 'parent',
provide: {

This comment has been minimized.

Copy link

c01nd01r commented Mar 22, 2017

You forgot add ChildComponent to components field in export default {}

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.