Static GitHub Issues

[1593] Where can I define global App.mounted hook (on a level higher than layout component)

prev: Mismatching childNodes vs. VNodes
next: Redirects for SEO

Is there a higher level component where I can define mounted hook function than layout? Say I have two layouts and they share same code in their mounted function, where should I extract those code out?

<!--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/c1422">#c1422</a>)</em></sub></div>