mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
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 <[email protected]> Co-authored-by: samcx <[email protected]>
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>
|
|
);
|
|
}
|