Skip to content

Commit

Permalink
fix: respect namespaced in store module (#5189)
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkdo authored and pi0 committed Mar 8, 2019
1 parent 1ea8661 commit 9e1ef88
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/vue-app/template/store.js
Expand Up @@ -82,6 +82,10 @@ function resolveStoreModules(moduleData, filename) {
for (const property of VUEX_PROPERTIES) {
mergeProperty(storeModule, moduleData[property], property)
}

if (moduleData.namespaced === false) {
delete storeModule.namespaced
}
}

function normalizeRoot(moduleData, filePath) {
Expand Down

0 comments on commit 9e1ef88

Please sign in to comment.