Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
nishant0708 committed Sep 20, 2024
1 parent 9a350c5 commit b0a2b6c
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 6 deletions.
42 changes: 42 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"eslint-plugin-react-refresh": "^0.4.9",
"globals": "^15.9.0",
"postcss": "^8.4.47",
"react-router-dom": "^6.26.2",
"tailwindcss": "^3.4.12",
"vite": "^5.4.1",
"vite-plugin-eslint": "^1.8.1"
Expand Down
18 changes: 12 additions & 6 deletions src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
import { BrowserRouter as Router, Routes, Route } from "react-router-dom";
import Home from "./Home/Home";

const App = () => {
return (
<div>

</div>
)
}
<Router>
<Routes>
{/* Define your routes */}
<Route path="/" element={<Home />} />
</Routes>
</Router>
);
};

export default App
export default App;
7 changes: 7 additions & 0 deletions src/Home/Home.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
const Home = () => {
return (
<div>Home</div>
)
}

export default Home

0 comments on commit b0a2b6c

Please sign in to comment.