From 1b79b5be96ba070a908eac5efb208d47909d289f Mon Sep 17 00:00:00 2001 From: Greg Slepak Date: Tue, 14 Jun 2016 22:35:37 -0700 Subject: [PATCH] Removed 'actions' from Vuex.Store constructor 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. --- docs/en/mutations.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/en/mutations.md b/docs/en/mutations.md index 28292b0b3..8e83ff2bb 100644 --- a/docs/en/mutations.md +++ b/docs/en/mutations.md @@ -130,7 +130,6 @@ import { SOME_MUTATION } from './mutation-types' const store = new Vuex.Store({ state: { ... }, - actions: { ... }, mutations: { // we can use the ES2015 computed property name feature // to use a constant as the function name