Implemented store to allow torrentSearch to tell our sidebar action buttons how many results we got
This commit is contained in:
14
src/store.js
Normal file
14
src/store.js
Normal file
@@ -0,0 +1,14 @@
|
||||
import Vue from 'vue'
|
||||
import Vuex from 'vuex'
|
||||
|
||||
import torrentModule from './modules/torrentModule.js'
|
||||
|
||||
Vue.use(Vuex)
|
||||
|
||||
const store = new Vuex.Store({
|
||||
modules: {
|
||||
torrentModule
|
||||
}
|
||||
})
|
||||
|
||||
export default store
|
||||
Reference in New Issue
Block a user