We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20b0c36 commit b981e2dCopy full SHA for b981e2d
src/index.js
@@ -32,9 +32,14 @@ class Store {
32
dispatch.apply(this, args)
33
}
34
// use a Vue instance to store the state tree
35
+ // suppress warnings just in case the user has added
36
+ // some funky global mixins
37
+ const silent = Vue.config.silent
38
+ Vue.config.silent = true
39
this._vm = new Vue({
40
data: state
41
})
42
+ Vue.config.silent = silent
43
this._setupModuleState(state, modules)
44
this._setupModuleMutations(modules)
45
this._setupMiddlewares(middlewares, state)
0 commit comments