mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
Fix example for vuex store
This commit is contained in:
parent
f40dfbaeee
commit
ba3fd95f14
@ -1,8 +1,5 @@
|
|||||||
import Vue from 'vue'
|
|
||||||
import Vuex from 'vuex'
|
import Vuex from 'vuex'
|
||||||
|
|
||||||
Vue.use(Vuex)
|
|
||||||
|
|
||||||
const store = new Vuex.Store({
|
const store = new Vuex.Store({
|
||||||
state: {
|
state: {
|
||||||
counter: 0
|
counter: 0
|
||||||
|
Loading…
Reference in New Issue
Block a user