Files
leoncloud_temeplate/app/layout.tsx
2025-11-20 15:06:51 +08:00

30 lines
596 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import type { Metadata } from "next";
import "./globals.css";
// 禁用Google字体加载避免构建错误
// 导出元数据
export const metadata: Metadata = {
title: "Test模板",
description: "这是一个模板改编于LeonCloud官网https://jjmm.ink/",
};
// 导入客户端组件
import ClientLayout from './components/ClientLayout';
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html>
<body>
<ClientLayout>
{children}
</ClientLayout>
</body>
</html>
);
}