vue-electron / vuex-electron

Integration of Vuex and Electron
MIT License
305 stars 97 forks source link

Expose clear() from `electron-store` #10

Closed skew202 closed 3 years ago

skew202 commented 5 years ago

Would be nice to be able to reset store for development purposes. https://github.com/sindresorhus/electron-store#clear

GregShanken commented 5 years ago

Hi @skew202! Have you come up with a solution to this problem?

blastoy commented 5 years ago

@GregShanken

import Store from 'electron-store';
const store = new Store({ name: 'vuex' });
store.clear();
akodkod commented 5 years ago

https://github.com/vue-electron/vuex-electron/issues/44