Blog Logo
TAGS

Next.js Routes

`nextjs-routes` makes Next.jss `next/link` and `next/router` routes type safe with zero runtime overhead. `nextjs-routes` scans your `pages` and/or `app` directory and generates route types based on your applications routes. `nextjs-routes` drops into your existing Next.js application with minimal configuration. You wont have to change any code, unless it finds some broken links! Zero config, types only -- zero runtime. No more broken links! Route autocompletion. Supports all Next.js route types: static, dynamic, catch all and optional catch all. You can add this package to your project using `npm install nextjs-routes` or `yarn add nextjs-routes`.