Skip to content

Commit

Permalink
refactor: [#23]React-Router 간단하게 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
kangsuyeong committed Aug 4, 2024
1 parent 718d891 commit 87850b7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion FITple-Frontend/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { Routes } from "react-router-dom";
import { Route } from "react-router-dom";
import LoginPage from "./pages/LoginPage/LoginPage";
import SignupPage from "./pages/SignupPage/SignupPage";
import ClothdetailPage from "./pages/ClothdetailPage/ClothdetailPage";
import ClothmainPage from "./pages/ClothmainPage/ClothmainPage";

function App() {
return (
Expand All @@ -15,7 +17,11 @@ function App() {
{/* 로그인페이지 */}
<Route path="/login" element={<LoginPage />} />
{/* 회원가입페이지 */}
{/* <Route path="/signup" element={<SignupPage />} /> */}
<Route path="/signup" element={<SignupPage />} />
{/* 상품디테일 */}
<Route path="/product" element={<ClothdetailPage />} />
{/* 이게 메인페이지? */}
<Route path="/" element={<ClothmainPage />} />
</Routes>
</>
);
Expand Down

0 comments on commit 87850b7

Please sign in to comment.