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

posts.index.tsx

10 lines247 Bytes

1import { createFileRoute } from '@tanstack/react-router'
2import * as React from 'react'
3​
4export const Route = createFileRoute('/posts/')({
5 component: PostsIndexComponent,
6})
7​
8function PostsIndexComponent() {
9 return <div>Select a post.</div>