Components
1 week ago
scss
1 week ago
store
2 weeks ago
utils
1 week ago
index.js
2 years ago
style.scss
1 week ago
index.js
16 lines
| 1 | import './style.scss'; |
| 2 | import reducer from './store/reducer'; |
| 3 | import actions from './store/actions'; |
| 4 | import selectors from './store/selectors'; |
| 5 | import App from './Components/App'; |
| 6 | import { registerStore } from '@wordpress/data'; |
| 7 | import { render } from '@wordpress/element'; |
| 8 | |
| 9 | registerStore( 'ti-onboarding', { |
| 10 | reducer, |
| 11 | actions, |
| 12 | selectors, |
| 13 | } ); |
| 14 | |
| 15 | render( <App />, document.getElementById( 'ob-app' ) ); |
| 16 |