Hi, What is the proper way to add the global guards ( beforeEach and afterEach ) to the nuxt router? plz
<!--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/c421">#c421</a>)</em></sub></div>