-
Notifications
You must be signed in to change notification settings - Fork 1
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
🎨 App폴더 하위 디렉토리 구조 변경 #139
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
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.
아... 이거 머지되고 제거 컨플릭 푸는게 나았으려나요 ㅜㅜ 제꺼 먼저 머지해버렸네요 죄송합니다
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.
미션 완료 페이지를 mission > [id] > success
경로로 한 이유가 있을까용? 🤔🤔
미션 완료 페이지는 id와 관련없이 같은 페이지가 보여지는것이라고 생각했는데, 그렇다면 mission > success
경로여도 되지 않을까 생각했어요!
src/constants/router.ts
Outdated
MISSION: { | ||
NEW: '/mission/new', | ||
RECORD: (id: string) => `/mission/${id}/stopwatch`, | ||
STOP_WATCH: (id: string) => `/mission/${id}/stopwatch`, | ||
SUCCESS: (id: string) => `/mission/${id}/success`, | ||
}, |
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.
오 이런 방식이 있군요 👍👍👍👍
아래와 같이 생각했었어요
|
의견 반영 감사합니다! |
🤔 해결하려는 문제가 무엇인가요?
closed #85
🎉 변경 사항
certification -> record
complete -> success
select -> new
🙏 여기는 꼭 봐주세요!
사용 방법
🌄 스크린샷
📚 참고
https://nextjs.org/docs/app/building-your-application/routing/dynamic-routes