Closed husayt closed 4 years ago
It might be very useful set an initial state dynamically for each visitor to take into account location or language.
So it will be great if initial state could also be defined as a function.
@husayt Could you explain a bit more what you're trying to achieve?
Can't you move this logic to nuxtServerInit?
nuxtServerInit
Yes, indeed I just moved that logic to a plugin
It might be very useful set an initial state dynamically for each visitor to take into account location or language.
So it will be great if initial state could also be defined as a function.