Skip to contentOpen History to see the last commit
api.names.ts
10 lines256 Bytes
1import { createFileRoute } from '@tanstack/react-router' 2import { json } from '@tanstack/react-start' 4export const Route = createFileRoute('/demo/api/names')({ 7 GET: () => json(['Alice', 'Bob', 'Charlie']),