mirror of
https://github.com/WenPai-org/wpmind.git
synced 2025-08-03 19:19:46 +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
21
src/admin/pages/index.js
Normal file
21
src/admin/pages/index.js
Normal file
|
@ -0,0 +1,21 @@
|
|||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
import { __ } from '@wordpress/i18n';
|
||||
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
import PageWelcome from '../page-welcome';
|
||||
import PageSettings from '../page-settings';
|
||||
|
||||
export default {
|
||||
welcome: {
|
||||
label: __('Welcome', 'mind'),
|
||||
block: PageWelcome,
|
||||
},
|
||||
settings: {
|
||||
label: __('Settings', 'mind'),
|
||||
block: PageSettings,
|
||||
},
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue