New store module for setting the document title. Each route changes the document title to its name
This commit is contained in:
@@ -3,13 +3,15 @@ import Vuex from 'vuex'
|
||||
|
||||
import torrentModule from './modules/torrentModule.js'
|
||||
import darkmodeModule from './modules/darkmodeModule.js'
|
||||
import documentTitle from './modules/documentTitle.js'
|
||||
|
||||
Vue.use(Vuex)
|
||||
|
||||
const store = new Vuex.Store({
|
||||
modules: {
|
||||
torrentModule,
|
||||
darkmodeModule
|
||||
darkmodeModule,
|
||||
documentTitle
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user