Use vue3 without compat
This commit is contained in:
parent
d4f26e8536
commit
013b7e9dc9
2 changed files with 2 additions and 7 deletions
|
|
@ -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,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue