Skip to content

Commit b924d15

Browse files
committed
main vuex
1 parent 8dae09b commit b924d15

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/store/index.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import Vue from 'vue'
2+
import Vuex from 'vuex'
3+
import user from './user'
4+
import shared from './shared'
5+
6+
Vue.use(Vuex)
7+
8+
export const store = new Vuex.Store({
9+
modules: {
10+
user: user,
11+
shared: shared
12+
}
13+
})

0 commit comments

Comments
 (0)