# hannoeru/vite-plugin-pages

File system based route generator for ⚡️Vite

Repository: https://github.com/hannoeru/vite-plugin-pages
Canonical: https://ross.abutalabs.com/products/vite-plugin-pages
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2026-08-26T15:04:50+00:00

## Health v2 (maintenance only)
Score: 84/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 56, longevity 100
- inputs: {"age_days": 2057, "days_push": 7, "days_rel": 212, "gap_med": 84, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2078, forks 129 (observed 2026-08-28T04:06:11.426791+00:00)

## What it is
A Vite plugin that generates routes from the file system for Vue 3, React, and Solid applications. It automatically maps files in a pages directory to route definitions that can be fed into vue-router, react-router, or @solidjs/router.

## Use cases
- generate routes from file system in a vite project
- avoid manually defining routes in vue-router
- file-based routing for react with vite
- set up solidjs routing from pages directory
- auto-generate typed routes from page components

## When to choose
- you use Vite with Vue 3, React, or Solid and want convention-based file routing
- you want routes generated automatically from a pages directory

## When to avoid
- you use Vue and can adopt unplugin-vue-router, which the author recommends for better vue-router integration and typed routes
- your project does not use Vite

## Facets
- artifact type: plugin
- maturity: active
- function: routing, build-tool, plugin-system
- domain: web-development, frontend, developer-tools
- platform: cross-platform
- tags: vite, file-based-routing, vue, react, solid, vue-router, react-router, nodejs, web-server

## Member repositories
- hannoeru/vite-plugin-pages (main) score 84

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:11.426791+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:56:06.983777+00:00, confidence not recorded.
  - readme: https://github.com/hannoeru/vite-plugin-pages (fetched 2026-08-28T04:06:11.426791+00:00, sha 0969c4a9db2a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
