Why?
This project idea came from trying to type the router directly using Typescript, finding out it's not fast enough to be pleasant to use and, ending up using build-based tools, taking some inspiration from other projects like:
- Nuxt - The Vue.js Framework
- vite-plugin-pages - Framework agnostic file based routing
- Typed Router for Nuxt - A module to add typed routing to Nuxt
It's currently included as an experimental setting in Nuxt.