TanStackT
TanStack12mo ago
15 replies
wispy-olive

How do I get `<base href='...' />` to the top of the head document returned by createRootRoute?

<head>
<base href='...' />
<Meta />
</head>

It seems like <Meta /> automatically inserts things to <head /> and <base /> ends up getting injected after the <script /> that has a relative route for the build.
Was this page helpful?