mirror of
https://github.com/fastapi/full-stack-fastapi-template.git
synced 2026-11-03 20:36:27 +00:00
✨ Add meta title support to all pages (#2039)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { ReactQueryDevtools } from "@tanstack/react-query-devtools"
|
||||
import { createRootRoute, Outlet } from "@tanstack/react-router"
|
||||
import { createRootRoute, HeadContent, Outlet } from "@tanstack/react-router"
|
||||
import { TanStackRouterDevtools } from "@tanstack/react-router-devtools"
|
||||
import ErrorComponent from "@/components/Common/ErrorComponent"
|
||||
import NotFound from "@/components/Common/NotFound"
|
||||
@@ -7,6 +7,7 @@ import NotFound from "@/components/Common/NotFound"
|
||||
export const Route = createRootRoute({
|
||||
component: () => (
|
||||
<>
|
||||
<HeadContent />
|
||||
<Outlet />
|
||||
<TanStackRouterDevtools position="bottom-right" />
|
||||
<ReactQueryDevtools initialIsOpen={false} />
|
||||
|
||||
Reference in New Issue
Block a user