Remove VueX-persist
This commit is contained in:
parent
643b6e8479
commit
cb88f7e741
4 changed files with 1 additions and 30 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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]
|
||||
: []
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue