establishing layout for mern stack

This commit is contained in:
Mikayla Dobson
2022-03-29 12:23:30 -05:00
parent 1b5a80d445
commit b2ac098fdb
20 changed files with 114 additions and 48 deletions

18
client/src/App.js Normal file
View File

@@ -0,0 +1,18 @@
import './App.css';
import { Routes, Route, BrowserRouter } from 'react-router-dom';
import Welcome from './components/Welcome';
function App() {
return (
<div className="App">
<BrowserRouter>
<Routes>
<Route path="/" element={<Welcome />}/>
</Routes>
</BrowserRouter>
</div>
);
}
export default App;