Last active
February 7, 2018 20:26
-
-
Save matthieu-D/29c7935366ab960018dfcf0a212942cf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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