Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { BrowserRouter, Routes, Route } from 'react-router-dom'
- import './App.css';
- import Control from './controlpanel/Control';
- import NavBar from './components/NavBar';
- import SignIn from './components/SignIn';
- function App() {
- return (
- <div className="App">
- <BrowserRouter>
- <NavBar/>
- <Routes>
- {/* <Route path="/" element={< SignIn />} /> */}
- <Route path='/control' element={< Control />} />
- </Routes>
- <SignIn/>
- </BrowserRouter>
- </div>
- );
- }
- export default App;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement