Home

Issue: 1387

listening on <nuxt-child> possible to pass events from nested routes?

[issue link]

is it possible to add event handlers to nuxt-child and fire events from nested pages?

nested.vue

<template>
  <nuxt-child @something="handle_something" />
</template>

nested/index.vue

<template>
  <button @click="$emit('something!')" >something</button>
</template>
This question is available on Nuxt.js community (#c1231)