enrouter 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:
npm install enrouter
# or
pnpm add enrouter
-
react:
>=18
-
vite:
^6
enrouter is compatible with all modern browsers, edge environments, and Node.js.