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:
Nikita 2023-08-05 16:01:44 +03:00
parent 5f489c933e
commit f1c3c698dc
66 changed files with 978 additions and 1286 deletions

View 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);