Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <template>
- <div class="abuelo-component">
- <h1>Abuelo</h1>
- <padre @padre:change="escucharPadre"></padre>
- </span>
- </template>
- <script>
- import Padre from 'Padre'
- export default {
- name: 'Abuelo',
- methods: {
- escucharPadre () {
- console.log('Mensaje recibido de Padre')
- }
- }
- components: {
- Padre
- }
- }
- </script>
Add Comment
Please, Sign In to add comment