Skip to content

Commit

Permalink
avoid strict mode for vuex
Browse files Browse the repository at this point in the history
  • Loading branch information
diegopf committed Aug 24, 2024
1 parent dca1acf commit 9653a45
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/store/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import Vue from 'vue';
import Vuex, { Store } from 'vuex';
import { createStore } from 'vuex';

Vue.use(Vuex);

export default new Store({
strict: process.env.NODE_ENV !== 'production',
export default createStore({
strict: false,
state: {},
mutations: {},
actions: {},
Expand Down

0 comments on commit 9653a45

Please sign in to comment.