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
feat: add ability to turn off devtools on vuex by passing an off options (#1407)
* Add ability to turn off devtools on vuex by passing an off options
* Swap order of precedence so that we use the options devtools over the vues devtools
Copy file name to clipboardExpand all lines: docs/api/README.md
+13
Original file line number
Diff line number
Diff line change
@@ -116,6 +116,19 @@ const store = new Vuex.Store({ ...options })
116
116
117
117
[Details](../guide/strict.md)
118
118
119
+
### devtools
120
+
121
+
- type: `Boolean`
122
+
123
+
Turn the devtools on or off for a particular vuex instance. For instance passing false tells the Vuex store to not subscribe to devtools plugin. Useful for if you have multiple stores on a single page.
0 commit comments