mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
fix: apply store HMR to whole store (#4589)
This commit is contained in:
parent
c8b920a145
commit
81cf09cb76
@ -21,7 +21,7 @@ void function updateModules() {
|
||||
// If store is not an exported method = modules store
|
||||
if (typeof storeData !== 'function') {
|
||||
// Store modules
|
||||
if (!storeData.modules || module.hot) {
|
||||
if (!storeData.modules) {
|
||||
storeData.modules = {}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user