Skip to content

Commit 5cc05d0

Browse files
taoeffectyyx990803
authored andcommitted
Removed 'actions' from Vuex.Store constructor (#210)
This is the only place in the documentation where `actions` are passed in to `new Vuex.Store`. There is no explanation for the discrepancy (i.e. all other documentation, including the API and the next page dedicated to actions, indicate those should be passed to the Vue constructor.
1 parent 1d3090e commit 5cc05d0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

docs/en/mutations.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ import { SOME_MUTATION } from './mutation-types'
130130

131131
const store = new Vuex.Store({
132132
state: { ... },
133-
actions: { ... },
134133
mutations: {
135134
// we can use the ES2015 computed property name feature
136135
// to use a constant as the function name

0 commit comments

Comments
 (0)