feat: use vuex 4 for vue3

This commit is contained in:
Dominik Pschenitschni 2021-08-20 15:32:53 +02:00
parent 72518212da
commit 3d6aca3510
No known key found for this signature in database
GPG key ID: B257AC0149F43A77
4 changed files with 25 additions and 11 deletions

View file

@ -1,5 +1,4 @@
import Vue from 'vue'
import Vuex from 'vuex'
import { createStore } from 'vuex'
import {
CURRENT_LIST,
ERROR_MESSAGE,
@ -21,9 +20,7 @@ import labels from './modules/labels'
import ListService from '../services/list'
Vue.use(Vuex)
export const store = new Vuex.Store({
export const store = createStore({
strict: import.meta.env.DEV,
modules: {
config,