0
0
Fork 0

Remove VueX-persist

This commit is contained in:
Oliver-Akins 2021-01-05 13:44:52 -07:00
parent 643b6e8479
commit cb88f7e741
4 changed files with 1 additions and 30 deletions

View file

@ -42,7 +42,6 @@ export default {
modal: false,
tooling: {
"Vue.JS (With VueX)": "https://vuejs.org",
"VueX-Persist": "https://www.npmjs.com/package/vuex-persist",
"Vue-Socket.io": "https://github.com/MetinSeylan/Vue-Socket.io",
"Vue-Clipboard2": "https://www.npmjs.com/package/vue-clipboard2",
"Toml": "https://www.npmjs.com/package/toml",

View file

@ -1,6 +1,5 @@
import Vue from 'vue';
import Vuex from 'vuex';
import VuexPersistence from 'vuex-persist';
Vue.use(Vuex);
@ -118,8 +117,4 @@ export default new Vuex.Store({
},
modules: {
},
plugins:
process.env.NODE_ENV === `production`
? [new VuexPersistence({ key: `ghost-writer-save` }).plugin]
: []
});