UNPKG

@generouted/react-router

Version:

Generated file-based routes for React Router and Vite

17 lines (12 loc) 428 B
// src/plugin/template.ts var template = `// Generouted, changes to this file will be overriden /* eslint-disable */ import { components, hooks, utils } from '@generouted/react-router/client' // types export const { Link, Navigate } = components<Path, Params>() export const { useModals, useNavigate, useParams } = hooks<Path, Params, ModalPath>() export const { redirect } = utils<Path, Params>() `; export { template };