Last active
October 5, 2020 07:37
-
-
Save ting11222001/69e11539b465a64653c61b61044f2ffb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import "bootstrap/dist/css/bootstrap.min.css"; | |
import { BrowserRouter as Router, Route } from "react-router-dom"; | |
import Navbar from "./components/navbar.component" | |
import CreateDevice from "./components/create-device.component"; | |
... | |
function App() { | |
return ( | |
<Router> | |
<div className="container"> | |
<Navbar /> | |
<br /> | |
... | |
<Route path="/create" component={CreateDevice}/> | |
... | |
</div> | |
</Router> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment