Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 441 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 441 Bytes

vuex-electron-ipc

This library allows you to synchronize Vuex state across multiple BrowserWindows.

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]
});