frontend/smart-hut/src/index.js

12 lines
328 B
JavaScript
Raw Normal View History

2020-03-23 20:24:17 +00:00
import React from "react";
import ReactDOM from "react-dom";
import App from "./App";
import * as serviceWorker from "./serviceWorker";
//React Router
2020-03-07 10:59:04 +00:00
//import { BrowserRouter, Route, Switch } from "react-router-dom";
2020-02-24 14:22:19 +00:00
2020-03-23 20:24:17 +00:00
const index = <App />;
2020-03-23 20:24:17 +00:00
ReactDOM.render(index, document.getElementById("root"));
2020-02-24 14:22:19 +00:00
serviceWorker.unregister();