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

absolute.tsx

20 lines457 Bytes

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