PHP Classes

File: src/store/index.js

Recommend this page to a friend!
  Classes of Maniruzzaman Akash   WP Emailer   src/store/index.js   Download  
File: src/store/index.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: WP Emailer
Allow WordPress users to configure email settings
Author: By
Last change:
Date: 1 year ago
Size: 536 bytes
 

Contents

Class file image Download
/** * External dependencies. */ import { createStore, createLogger } from "vuex"; /** * Internal dependencies. */ import global from "./modules/global"; import settings from "./modules/settings"; import tables from "./modules/tables"; import graph from "./modules/graph"; const debug = process.env.NODE_ENV !== "production"; const store = createStore({ modules: { global, settings, tables, graph, }, strict: debug, plugins: debug ? [createLogger()] : [] }); export default store;