mirror of
https://github.com/WenPai-org/wpmind.git
synced 2025-08-06 05:32:11 +08:00
added Welcome page
changed settings API and page to React + rest changed structure of scripts - different folders for editor and admin scripts
This commit is contained in:
parent
5f489c933e
commit
f1c3c698dc
66 changed files with 978 additions and 1286 deletions
19
src/admin/store/settings/index.js
Normal file
19
src/admin/store/settings/index.js
Normal file
|
@ -0,0 +1,19 @@
|
|||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
import reducer from './reducer';
|
||||
import * as actions from './actions';
|
||||
import * as selectors from './selectors';
|
||||
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
import { createReduxStore, register } from '@wordpress/data';
|
||||
|
||||
const store = createReduxStore('mind/settings', {
|
||||
reducer,
|
||||
actions,
|
||||
selectors,
|
||||
});
|
||||
|
||||
register(store);
|
Loading…
Add table
Add a link
Reference in a new issue