UNPKG

rr-next-routes

Version:

generate nextjs-style routes in your react-router-v7 application

15 lines (13 loc) 432 B
type PrintOption = "no" | "info" | "table" | "tree"; declare const appRouterStyle: Options; declare const pageRouterStyle: Options; type Options = { folderName?: string; layoutFileName?: string; routeFileNames?: string[]; routeFileNameOnly?: boolean; extensions?: string[]; print?: PrintOption; enableHoistedFolders?: boolean; }; export { type Options as O, appRouterStyle as a, pageRouterStyle as p };