add nova
This commit is contained in:
17
nova/resources/js/store/index.js
Normal file
17
nova/resources/js/store/index.js
Normal file
@@ -0,0 +1,17 @@
|
||||
import { createStore } from 'vuex'
|
||||
import nova from './nova'
|
||||
import notifications from './notifications'
|
||||
|
||||
export function createNovaStore() {
|
||||
return createStore({
|
||||
...nova,
|
||||
modules: {
|
||||
nova: {
|
||||
namespaced: true,
|
||||
modules: {
|
||||
notifications,
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user