Static GitHub Issues

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

prev: How do I stop switching off the terminal service?
next: environment variables not working

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>
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1231">#c1231</a>)</em></sub></div>