Skip to content

[Fix] 루트에 있는 not-found 페이지 삭제#155

Merged
aken-you merged 1 commit intodevelopfrom
fix/build-404-page
Oct 9, 2025
Merged

[Fix] 루트에 있는 not-found 페이지 삭제#155
aken-you merged 1 commit intodevelopfrom
fix/build-404-page

Conversation

@aken-you
Copy link
Contributor

@aken-you aken-you commented Oct 8, 2025

☘️ 작업 내용

build 에러가 발생해서 봤더니,
2개의 루트 레이아웃이 있는 상황에서 app 바로 하위에 not-found를 둬서(app/not-found.tsx) 생긴 문제였습니다.

스크린샷 2025-10-08 오후 5 18 11

그래서 2개의 루트 레이아웃 하위에 not-found 페이지를 뒀습니다.

app
 ┣ (admin)
 ┃ ┣ admin
 ┃ ┃ ┗ page.tsx
 ┃ ┣ layout.tsx
 ┃ ┗ not-found.tsx
 ┣ (service)
 ┃ ┣ (my)
 ┃ ┣ layout.tsx
 ┃ ┣ not-found.tsx
 ┃ ┗ page.tsx
 ┗ global.css

@aken-you aken-you self-assigned this Oct 8, 2025
@aken-you aken-you merged commit a25c341 into develop Oct 9, 2025
1 check passed
@aken-you aken-you deleted the fix/build-404-page branch November 15, 2025 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant