A router library for React and a Vite plugin, enabling seamless file-based routing with support for "named outlets."
npm install enrouterenrouter is a routing library for React and a Vite plugin designed to
deliver a seamless file-based routing developer experience, featuring
"named outlets".
Written in TypeScript and compiled to ES2023, it provides modern, efficient
routing solutions.
> Note: The API is currently unstable and may change before 1.0.0.
> The objective is to refine the API for the simplest and most intuitive DX.
To install enrouter, use the following command:
``bash`
npm install enrouteror
pnpm add enrouter
- React: >=18^6`
- Vite:
enrouter is compatible with all modern browsers, edge environments, and Node.js.