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

absolute.tsx

19 lines417 Bytes

1import * as React from 'react'
2import { Link, createFileRoute } from '@tanstack/react-router'
3​
4export const Route = createFileRoute('/absolute')({
5 component: AbsoluteComponent,
6})
7​
8function AbsoluteComponent() {
9 return (
10 <div className="p-2 space-y-2">
11 <Link
12 to="/absolute"
13 className="block py-1 text-blue-800 hover:text-blue-600"
14 >
15 Absolute
16 </Link>
17 </div>
18 )