mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
This PR updates the with-eslint example for using the App Router. Here are the changes that have been made: - Renamed the "pages" folder to the "app" folder. - Added the layout.tsx file as part of the App Router. - Updated the package.json file. - Updated tsconfig.json file CC: @samcx --------- Co-authored-by: samcx <[email protected]>
9 lines
137 B
TypeScript
9 lines
137 B
TypeScript
export default function Home() {
|
|
return (
|
|
<div>
|
|
<script src="https://fake-script.com" />
|
|
<p>Home</p>
|
|
</div>
|
|
);
|
|
}
|