Skip to main content
Version: 1.0

Head Component

Much like the Head Component from Inertia.js, Laravext has its own Head component that allows you to set the title of the page.

page.jsx:

import { Head, nexusProps } from "@laravext/react";

export default () => {

const { teams } = nexusProps();

return (
<div>
<Head title="Our Teams" />

{/* The Rest of your component */}
</div>
)
}