This library allows you to synchronize Vuex state across multiple BrowserWindow
s.
// ./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]
});