-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#10] Feat: 페이지 및 라우팅 세팅 #21
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고하셨습니당~~
src/routes/router.tsx
Outdated
path: "/", | ||
element: <Home />, | ||
errorElement: <NotFound />, | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
root path 밑의 경로는 children 배열로 관리해줘도 좋을 것 같습니다~
src/routes/router.tsx
Outdated
errorElement: <NotFound />, | ||
}, | ||
{ | ||
path: "/search", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
path는 상수로 관리해주는게 좋을 것 같습니다!
https://www.notion.so/1-058f752166234bf9aac5b46115af45f0
Issue Number
close #10
⛳️ Task
페이지 및 라우팅 세팅
✍️ Note
각 페이지별 쿼리스트링등은 세팅하지는 않았습니다 . router.tsx에서 맡으신 페이지 각자 변경하셔도 됩니다.
📸 Screenshot
📎 Reference