mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
dea722dea3
This PR updates the react-remove-properties example to use the App Router. Here are the changes that have been made: Renamed the "pages" folder to the "app" folder. Updated the routing for / files to align with the App Router. Added the layout.tsx file as part of the App Router. CC @samcx --------- Co-authored-by: niket <niket.chandivade@qed42.com> Co-authored-by: samcx <sam@vercel.com>
17 lines
258 B
TypeScript
17 lines
258 B
TypeScript
export const metadata = {
|
|
title: "Next.js",
|
|
description: "Generated by Next.js",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<html lang="en">
|
|
<body>{children}</body>
|
|
</html>
|
|
);
|
|
}
|