Made custom middleware on the server side for example https://nuxtjs.org/api/configuration-servermiddleware/
and have a few questions:
1. Let's say I generated the data inside the middleware - how do I now display on the browser page? How to pass higher?
2. Tried using $store (Vuex) - but nothing came of it. I understand that I do not understand something basic here, but what exactly - I don't know))
3. Why in my middleware (in the example file api/logger.js) variable
process.server == undefined
why is this? Googled it, people wrote that they like the work ...but it's not sure))
Prompt in what side to dig, or maybe a link to an example.
Och grateful in advance.