Add a new dashboard page.
This commit is contained in:
parent
89150e1164
commit
fd24b1898e
133 changed files with 17303 additions and 11112 deletions
27
webui/src/store/index.js
Normal file
27
webui/src/store/index.js
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
import Vue from 'vue'
|
||||
import Vuex from 'vuex'
|
||||
|
||||
import core from './core'
|
||||
import entrypoints from './entrypoints'
|
||||
|
||||
Vue.use(Vuex)
|
||||
|
||||
/*
|
||||
* If not building with SSR mode, you can
|
||||
* directly export the Store instantiation
|
||||
*/
|
||||
|
||||
export default function (/* { ssrContext } */) {
|
||||
const Store = new Vuex.Store({
|
||||
modules: {
|
||||
core,
|
||||
entrypoints
|
||||
},
|
||||
|
||||
// enable strict mode (adds overhead!)
|
||||
// for dev mode only
|
||||
strict: process.env.DEV
|
||||
})
|
||||
|
||||
return Store
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue