Home

Issue: 242

How to get request in Vue plugins initialization

[issue link]

Is there a way to get the current request during plugins initialization? I need to initialize a translation component which needs the current language (I expect to find it using Accept-Language header and/or current route).

Thanks

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