new global api for vue and vuex

This commit is contained in:
2022-11-30 19:37:35 +01:00
parent e01c41f4b2
commit 3780e81d26
3 changed files with 9 additions and 14 deletions

View File

@ -1,9 +1,6 @@
import Vue from "vue";
import Vuex from "vuex";
import { createStore } from 'vuex'
Vue.use(Vuex);
export default new Vuex.Store({
export const store = createStore({
state: {
drawing: 0,
rules1d: {