V
V
Vyacheslav Shevchenko2019-01-17 18:09:46
Vue.js
Vyacheslav Shevchenko, 2019-01-17 18:09:46

How to get nuxt request headers?

Hello.
You need to get the user-agent from the headers and change the store depending on it. This must be done globally, either at the time the layout is received or before. How can I do that?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question