Files
vercel__next.js/examples/with-sass/app/layout.tsx
PapatMayuri 2461539530 Update with next sass example (#73548)
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 <sam@vercel.com>
2024-12-06 21:38:17 +00:00

21 lines
358 B
TypeScript

import type { Metadata } from "next";
import "@/styles/globals.scss";
export const metadata: Metadata = {
title: "With Sass",
description: "Next.js example with Sass.",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body>{children}</body>
</html>
);
}