Skip to content

Instantly share code, notes, and snippets.

@matthieu-D
Created February 2, 2018 19:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthieu-D/45ead10b899d011ef6064d735b55d114 to your computer and use it in GitHub Desktop.
Save matthieu-D/45ead10b899d011ef6064d735b55d114 to your computer and use it in GitHub Desktop.
import Vue from 'vue';
import Component from 'vue-class-component';
import ChildNode from '../child-node/child-node';
@Component({
template: `<div>
<child-node
v-on:nameChanged="changeName"
:name="nameProp">
</child-node>
</div>`,
components: { ChildNode }
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment