From a17b76ac75f506f5da6fe8adf9c36632b60d4226 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 26 Sep 2020 14:56:02 +0200 Subject: refactor to use app-rooted js imports --- frontend/app/site/index.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 frontend/app/site/index.js (limited to 'frontend/app/site/index.js') diff --git a/frontend/app/site/index.js b/frontend/app/site/index.js new file mode 100644 index 0000000..6f1a0a5 --- /dev/null +++ b/frontend/app/site/index.js @@ -0,0 +1,17 @@ +import React from 'react' +import ReactDOM from 'react-dom' +import { Provider } from 'react-redux' + +import App from './app' + +import { store, history } from './store' + +const container = document.createElement('div') +container.classList.add('container') +document.body.appendChild(container) + +ReactDOM.render( + + + , container +) -- cgit v1.2.3-70-g09d2