Skip to content

Commit b346757

Browse files
committed
concepts.md - include Vue.use(Vuex) call
1 parent cb6bda3 commit b346757

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/en/concepts.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,11 @@ Why do we differentiate between *mutations* and *actions*, rather then just simp
2121
Creating a Vuex store is pretty straightforward - just put the aforementioned ingredients together:
2222

2323
``` js
24+
import Vue from 'vue'
2425
import Vuex from 'vuex'
2526

27+
Vue.use(Vuex)
28+
2629
const store = new Vuex.Store({
2730
state: { ... },
2831
mutations: { ... },

0 commit comments

Comments
 (0)