Convert the Demo UI component into a working Next.js TypeScript page that fetches live data from the API routes with debounced search, loading/error states, server-side filtering, sorting, and pagination. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
20 lines
481 B
TypeScript
20 lines
481 B
TypeScript
import type { Metadata } from "next";
|
|
import "./globals.css";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "成品仓库数据查询系统",
|
|
description: "Finished Goods Warehouse Query System — 成品库存实时查询",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="zh-CN" className="h-full antialiased">
|
|
<body className="min-h-full flex flex-col">{children}</body>
|
|
</html>
|
|
);
|
|
}
|