Upgrade to vue 3 (#1)
* updated dependencies * updated readme * upgrade to vue 3 * updated buttons * duplicate id removed * updated contact
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
import Vue from 'vue'
|
||||
import Vuex from 'vuex'
|
||||
import { createStore } from 'vuex'
|
||||
|
||||
Vue.use(Vuex)
|
||||
|
||||
const moduleSettings = {
|
||||
export const store = createStore({
|
||||
state: {
|
||||
header: {
|
||||
title: null,
|
||||
@@ -64,10 +61,4 @@ const moduleSettings = {
|
||||
state.header.description = null
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default new Vuex.Store({
|
||||
modules: {
|
||||
settings: moduleSettings
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user