Implemented store to allow torrentSearch to tell our sidebar action buttons how many results we got

This commit is contained in:
2019-10-04 00:20:03 +02:00
parent c8f9cb7e22
commit a6f72c8f6b
3 changed files with 56 additions and 0 deletions

14
src/store.js Normal file
View 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