<Meta />此组件渲染由路由模块 meta 导出创建的所有 <meta> 标签。你应该将其渲染到 HTML 的 <head> 组件中,通常是在 app/root.tsx 组件中。
¥This component renders all of the <meta> tags created by your route module meta export. You should render it inside the <head> of your HTML, usually in app/root.tsx.
import { Meta } from "@remix-run/react";
export default function Root() {
return (
<html>
<head>
<Meta />
</head>
<body></body>
</html>
);
}