diff --git a/app/package.json b/app/package.json index 2ae083bb..9a20cdf0 100644 --- a/app/package.json +++ b/app/package.json @@ -24,8 +24,7 @@ "vue-i18n": "^8.28.2", "vue-router": "^4.3.0", "vue-showdown": "^2.4.1", - "vuelidate": "^0.7.7", - "vuex": "^3.6.2" + "vuex": "^4.1.0" }, "devDependencies": { "@vitejs/plugin-vue": "^5.0.4", diff --git a/app/src/store/index.js b/app/src/store/index.js index ea7adddf..1aff8077 100644 --- a/app/src/store/index.js +++ b/app/src/store/index.js @@ -1,13 +1,10 @@ -import Vue from 'vue' -import Vuex from 'vuex' +import { createStore } from 'vuex' import info from './info' import settings from './settings' import data from './data' -Vue.use(Vuex) - -export default new Vuex.Store({ +export default createStore({ state: settings.state, mutations: settings.mutations, actions: settings.actions,