I'm essentially trying to do what @Atinux recommended in #1697 but I keep getting this error:
TypeError: inject is not a function
<!--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/c1817">#c1817</a>)</em></sub></div>