Use vue3 without compat

This commit is contained in:
Julian Stirling 2026-02-15 16:12:32 +00:00
parent d4f26e8536
commit 013b7e9dc9
2 changed files with 2 additions and 7 deletions

View file

@ -1,9 +1,6 @@
import Vue from "vue";
import Vuex from "vuex";
import { createStore } from "vuex";
import wotStoreModule from "./wot-client";
Vue.use(Vuex);
function getOriginFromLocation() {
// This will default to the same origin that's serving
// the web app - but can be overridden by the URL.
@ -55,7 +52,7 @@ const LOCALSTORAGE_KEYS = [
"navigationInvert",
];
export default new Vuex.Store({
export default createStore({
modules: {
wot: wotStoreModule,
},