Nuxt Typed Router

Provide a type safe router to Nuxt with auto-generated typed definitions for route paths, names and params

What you can do

    Type safety
    Throws errors when route path/name/params doesn't match any page
    Zero config
    Just plug the module and watch the magic. Supports autoImport: false
    i18n support
    Out of the box support for prefixed i18n routes
    Attentive
    Watches changes in your router structure to automatically reload your types

See it in action

Autocompletes and type-checks routes paths, names and params

Install with one command

npx nuxi@latest module add typed-router
Copyright © 2026