vuex-electron-ipc
v0.1.0
Published
Share Vuex state across multiple Electron windows
Downloads
5
Maintainers
Readme
vuex-electron-ipc
This library allows you to synchronize Vuex state across multiple BrowserWindow
s.
Usage
// ./index.js
const { registerVuexHub } = require('vuex-electron-ipc');
registerVuexHub();
// createWindow() etc.
// ./app/js/app.js
import { registerVuexNode } from 'vuex-electron-ipc';
// ...
export default new Vuex.Store({
// ...
plugins: [registerVuexNode]
});