-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HMR for vuex store #325
Comments
any chance this can be included in the 1.0 releåse? |
is what i used in another project of mine. Not sure how difficult it is to inject this into the store template. |
It will be directly in this file @uptownhr https://github.com/nuxt/nuxt.js/blob/master/lib/app/store.js |
This feature-request has been cancelled by @manniL.
|
What version of nuxt was this from?
…On Thu, Aug 9, 2018, 11:18 PM cmty[bot] ***@***.***> wrote:
This feature-request <https://cmty.app/nuxt/nuxt.js/issues/c276> has been
cancelled by @manniL <https://cmty.app/nuxt/manniL>.
This is already working out of the box
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#325 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AA-UtuAbPo_Q9vnfKvVrbpIWP4AtCSmVks5uPSWygaJpZM4MN7_K>
.
|
Not sure when it got implemented exactly, but works in |
Interesting. I noticed it wasn't working on my last project. Maybe it
wasn't fully caught up to 1.4.2 but I thought it was.is there anything
special you have to do or not do for her to work?
…On Fri, Aug 10, 2018, 12:16 AM Alexander Lichter ***@***.***> wrote:
Not sure when it got implemented exactly, but works in nuxt v1.4.2 and in
nuxt-edge
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#325 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AA-UtgoefrmZjH0kRdepf9a2L1GIME1Kks5uPTM-gaJpZM4MN7_K>
.
|
@uptownhr Don't think so. When testing the feature I used the store in |
@manniL I just created a sample project off of,
I can confirm that on my machine the HMR does not work. This is what I see in my browser console.
|
@uptownhr I see the point. Will open up a a PR soon, but I’m unsure if it’ll make it to 2.0. |
Closing as there's already a PR in development. |
In Nuxt 2, store HMR works as far as possible. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
How to reproduce: Repo: https://github.com/manniL/nuxt-no-store-module-hmr/tree/master/
|
Possible strategy to implement: https://github.com/chrisvfritz/vue-enterprise-boilerplate/blob/master/src/state/modules/index.js |
I thought using modules mode will automatically add in the HMR code but found out that it is not.
https://vuex.vuejs.org/en/hot-reload.html
The text was updated successfully, but these errors were encountered: