UNPKG

@generouted/react-router

Version:

Generated file-based routes for React Router and Vite

15 lines (11 loc) 285 B
import { Plugin } from 'vite'; type Options = { source: { routes: string | string[]; modals: string | string[]; }; output: string; format: boolean; }; declare function Generouted(options?: Partial<Options>): Plugin; export { Generouted as default };