Skip to content
This repository has been archived by the owner on Feb 24, 2023. It is now read-only.

Latest commit

 

History

History
22 lines (15 loc) · 487 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 487 Bytes

next-route-manifest

Not actively using so haven't updated to support app dir

npm

Generates route manifest for Nextjs

Usage

1. Generate route manifest

$ npx next-route-manifest

2. Use generated manifest in next/link component's href prop

import Link from 'next/link'
import { Route } from './generated'

<Link href={Route.Home()}><a>Home</a></Link>