Skip to content
This repository has been archived by the owner on Feb 24, 2023. It is now read-only.
/ next-route-manifest Public archive

🗺️ Generates route manifest for Nextjs. Extracted from blitzjs

Notifications You must be signed in to change notification settings

IniZio/next-route-manifest

Repository files navigation

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>

About

🗺️ Generates route manifest for Nextjs. Extracted from blitzjs

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published