Skip to main content

Meta

还没翻译译自英文(reactrouter.com)本页 8 段都还没译

Meta

Framework

Summary

Reference Documentation ↗

Renders all the <meta> tags created by the route module's meta export. You should render it inside the <head> of your document.

import { Meta } from "react-router";

export default function Root() {
  return (
    <html>
      <head>
        <Meta />
      </head>
    </html>
  );
}

Signature

function Meta(): React.JSX.Element