Skip to content

Instantly share code, notes, and snippets.

@matthieu-D
Last active February 7, 2018 20:26
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/29c7935366ab960018dfcf0a212942cf to your computer and use it in GitHub Desktop.
Save matthieu-D/29c7935366ab960018dfcf0a212942cf to your computer and use it in GitHub Desktop.
import Vue from 'vue';
import ChildNode from '../child-node/child-node.vue'
export default Vue.extend({
data () {
return {
name: 'Child 2'
}
},
methods: {
changeName: function(newName) {
this.name = newName;
}
},
components: { ChildNode }
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment