Open MinJeung-Kim opened 1 year ago
// not-found.tsx export default function NotFoundPage() { return <h1>νμ΄μ§λ₯Ό μ°Ύμ μ μμ π</h1>; }
UI Component.
Header
NavBar
Menu
SideBar
// layout.tsx
...
export default function RootLayout({ children, }: { children: React.ReactNode; }) { return (
); }
![image](https://github.com/MinJeung-Kim/NextJS-Study/assets/79193369/f0da6b89-8845-45dd-84cb-e5cf41481dd8)
π€ File Conventions
1. Not Found
2. Layout
UI Component.
Header
,NavBar
,Menu
,SideBar
λ± μ¬μ¬μ©μ΄ κ°λ₯....
export default function RootLayout({ children, }: { children: React.ReactNode; }) { return (
Demo Note
); }