From 8988233da897e8447a1dbdb700836fb8576e5e6b Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Wed, 11 Dec 2019 18:54:05 +0530 Subject: :tada: Initial Commit --- src/index.js | 32 ++++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) (limited to 'src/index.js') diff --git a/src/index.js b/src/index.js index 87d1be5..a3b342f 100644 --- a/src/index.js +++ b/src/index.js @@ -1,12 +1,36 @@ import React from 'react'; import ReactDOM from 'react-dom'; +import "bootstrap/dist/css/bootstrap.min.css"; import './index.css'; import App from './App'; import * as serviceWorker from './serviceWorker'; +import { history, configureStore } from './core/store'; +import rootMiddleware from './middlewares/root.middleware'; +import { + BrowserRouter as Router, + Route + } from "react-router-dom"; +import Routes from './core/routes'; + +require("es6-promise").polyfill(); + + + +const store = configureStore(); +store.runSaga(rootMiddleware); + +const XRouter = () => { + return ( + + + + + + ); + }; + + + ReactDOM.render(, document.getElementById('root')); -ReactDOM.render(, document.getElementById('root')); -// If you want your app to work offline and load faster, you can change -// unregister() to register() below. Note this comes with some pitfalls. -// Learn more about service workers: https://bit.ly/CRA-PWA serviceWorker.unregister(); -- cgit v1.2.3