Evan You 9 年之前
父节点
当前提交
af643bbb8e
共有 3 个文件被更改,包括 7 次插入1 次删除
  1. 3 0
      docs/book.json
  2. 1 1
      docs/en/concepts.md
  3. 3 0
      docs/en/state.md

+ 3 - 0
docs/book.json

@@ -0,0 +1,3 @@
+{
+  "gitbook": "2.6.2"
+}

+ 1 - 1
docs/en/concepts.md

@@ -4,7 +4,7 @@ Similar to Vue itself, Vuex exposes a single `Vuex` constructor. You can use it
 
 
 Each Vuex instance consists of three core parts:
 Each Vuex instance consists of three core parts:
 
 
-- **State**: A plain object representing the state. Vuex uses a **single state tree** - that is, this single object contains all your application level state and serves as the "single source of truth". We will later discuss how to "split up" the logic for different parts of your app.
+- **State**: A plain object representing the application state.
 
 
 - **Mutations**: Functions that mutates the state. Mutations **must be synchronous**.
 - **Mutations**: Functions that mutates the state. Mutations **must be synchronous**.
 
 

+ 3 - 0
docs/en/state.md

@@ -0,0 +1,3 @@
+## State
+
+Vuex uses a **single state tree** - that is, this single object contains all your application level state and serves as the "single source of truth". We will later discuss how to "split up" the logic for different parts of your app.