You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 26, 2023. It is now read-only.
We've added global models to vue-states in our Nuxt application.
But for some reason the hydration state doesn't get recompiled (on hot-reload),
when we change the mentioned global models.
Instead, we need to restart the development server on each change,
which leads to a slow development process and funny/unnecessary conversations
with other developers.
Here is our plugin implementation:
importVuefrom'vue'importAuthenticationfrom'../models/authentication'importUserfrom'../models/user'Vue.use(VueStates,{globalModels: {
Authentication,
User,}})// ... further plugin implementation
Hit me up, if you need further details.
Cheers,
Andrej :)
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi there! :)
We've added global models to vue-states in our Nuxt application.
But for some reason the hydration state doesn't get recompiled (on hot-reload),
when we change the mentioned global models.
Instead, we need to restart the development server on each change,
which leads to a slow development process and funny/unnecessary conversations
with other developers.
Here is our plugin implementation:
Hit me up, if you need further details.
Cheers,
Andrej :)
The text was updated successfully, but these errors were encountered: