Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

__root.tsx

28 lines511 Bytes

1import { Outlet, createRootRoute } from "@tanstack/solid-router"
2​
3import appCss from "../styles.css?url"
4​
5export const Route = createRootRoute({
6 head: () => ({
7 meta: [
8 {
9 charSet: `utf-8`,
10 },
11 {
12 name: `viewport`,
13 content: `width=device-width, initial-scale=1`,
14 },
15 {
16 title: `TanStack Solid DB Example`,
17 },
18 ],
19 links: [
20 {
21 rel: `stylesheet`,
22 href: appCss,
23 },
24 ],
25 }),
26​
27 component: () => <Outlet />,
28})