Static GitHub Issues

[3298] `reforeRouteLeave` for Layouts

prev: Bootloading lambat
next: Prevent render log in production

What problem does this feature solve?

Using router events such as reforeRouteLeave works in /pages/* but it would be great if they could be passed to layouts, and inherited by pages which uses it.

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This feature request is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c7020">#c7020</a>)</em></sub></div>