Components
1 year ago
scss
1 year ago
store
2 years ago
utils
2 years ago
app.js
5 years ago
style.scss
1 year ago
app.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( 'neve-onboarding', { |
| 10 | reducer, |
| 11 | actions, |
| 12 | selectors, |
| 13 | } ); |
| 14 | |
| 15 | render( <App />, document.getElementById( 'tpc-app' ) ); |
| 16 |