Home

Issue: 1593

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

[issue link]

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?

This question is available on Nuxt.js community (#c1422)