Edit this page

TanStack Router

⚠️

While it's possible to use Vike with TanStack Router we recommend against it: Vike's built-in router has features that TanStack Router doesn't offer.

That said, if you have an existing app using TanStack Router that you want to migrate to Vike, then it can makes sense to start using Vike with TanStack Router. After your migration is done you can later/progressively migrate from TanStack Router to Vike's built-in router.

Vike's router aims to be as feature-rich as TanStack Router: if you need a TanStack Router feature that is missing then create a new feature request.

We believe routing should be completely owned by the frontend framework. Trying to separate concerns in that regard leads to a fundamental DX degradation.

Contributions welcome to create an example of using Vike with TanStack Router.

See also