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>
10 lines
193 B
TypeScript
10 lines
193 B
TypeScript
export default function Home() {
|
|
return (
|
|
<div data-test-id="1" data-custom="1a">
|
|
<div data-custom="2">
|
|
<h1 data-testid="3">Hello World!</h1>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|