mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
This PR updates the `with-next-sass` example for using the App Router. Here are the changes that have been made: - I renamed the `pages` folder and moved it to the `app` folder. - Added the `layout.tsx` file as part of the App Router. - Updated the package.json file. CC: @samcx --------- Co-authored-by: Sam Ko <[email protected]>
10 lines
161 B
TypeScript
10 lines
161 B
TypeScript
import HelloWorld from "@/components/hello-world";
|
|
|
|
export default function Home() {
|
|
return (
|
|
<div className="app">
|
|
<HelloWorld />
|
|
</div>
|
|
);
|
|
}
|