in my app written with VueJs 2, I have into the Vue.app this code:
export default {
name: \'app\',
data () {
return {
title: \'Gestione fornito
Use props to communicate data from parent to child.
Emit events to communicate from child to parent
Parent.vue
Parent: {{idfornitore}}
//idfornitore - data sent to child from parent.
//changevalue - event emitted from child and received by parent
Child.vue
Child: {{idfornitore}}