Skip to content

Commit 7c18187

Browse files
Jinjiangkazupon
authored andcommitted
docs(zh): updated to #f64a89c (#1423)
1 parent f64a89c commit 7c18187

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/zh/api/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,18 @@ const store = new Vuex.Store({ ...options })
118118
119119
[详细介绍](../guide/strict.md)
120120
121+
### devtools
122+
123+
- 类型:`Boolean`
124+
125+
为某个特定的 Vuex 实例打开或关闭 devtools。对于传入 `false` 的实例来说 Vuex store 不会订阅到 devtools 插件。可用于一个页面中有多个 store 的情况。
126+
127+
``` js
128+
{
129+
devtools: false
130+
}
131+
```
132+
121133
## Vuex.Store 实例属性
122134
123135
### state

0 commit comments

Comments
 (0)