mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-05 21:53:56 +00:00
15 lines
202 B
JavaScript
15 lines
202 B
JavaScript
import Vuex from 'vuex'
|
|
|
|
import mutations from './mutations'
|
|
|
|
const createStore = () => {
|
|
return new Vuex.Store({
|
|
state: {
|
|
counter: 0
|
|
},
|
|
mutations
|
|
})
|
|
}
|
|
|
|
export default createStore
|