Skip to content

Commit

Permalink
Update: Vuexを4.0.2に更新 (#934)
Browse files Browse the repository at this point in the history
* Update: Vuexを4.0.2に更新

* Delete: Vuexのロガーを削除
  • Loading branch information
sevenc-nanashi committed Sep 11, 2022
1 parent 9c223da commit 77448d9
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 19 deletions.
33 changes: 19 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"vue": "3.0.11",
"vue-router": "4.0.8",
"vuedraggable": "4.1.0",
"vuex": "4.0.0"
"vuex": "4.0.2"
},
"devDependencies": {
"@openapitools/openapi-generator-cli": "2.3.3",
Expand Down
4 changes: 0 additions & 4 deletions src/store/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { InjectionKey } from "vue";
import { createLogger } from "vuex";
import { createStore, Store, useStore as baseUseStore } from "./vuex";

import {
Expand Down Expand Up @@ -29,8 +28,6 @@ import { dictionaryStoreState, dictionaryStore } from "./dictionary";
import { proxyStore, proxyStoreState } from "./proxy";
import { DefaultStyleId } from "@/type/preload";

const isDevelopment = process.env.NODE_ENV == "development";

export const storeKey: InjectionKey<
Store<State, AllGetters, AllActions, AllMutations>
> = Symbol();
Expand Down Expand Up @@ -247,7 +244,6 @@ export const store = createStore<State, AllGetters, AllActions, AllMutations>({
...indexStore.actions,
...proxyStore.actions,
},
plugins: isDevelopment ? [createLogger()] : undefined,
strict: process.env.NODE_ENV !== "production",
});

Expand Down

0 comments on commit 77448d9

Please sign in to comment.