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/core/routes.js | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/core/routes.js (limited to 'src/core/routes.js') diff --git a/src/core/routes.js b/src/core/routes.js new file mode 100644 index 0000000..764e793 --- /dev/null +++ b/src/core/routes.js @@ -0,0 +1,35 @@ +import React, { Suspense } from "react"; +import { Provider } from "react-redux"; +import { ConnectedRouter } from "connected-react-router"; +import { Switch, Redirect, Route } from "react-router-dom"; +import { CustomRouter } from "./custom.router"; +import LoginContainer from "../modules/login/login.container"; +import DashBoardContainer from "../modules/dashboard/dashboard.container"; +import { AppRoutes } from "./app.routes"; + +const Routes = ({ store, history }) => { + return ( + + + Loading ...} + > + + + + {AppRoutes.map(_routes => + )} + + + + + + ); +}; + +export default Routes; \ No newline at end of file -- cgit v1.2.3