Outdated Vite Template: Uses deprecated TanStackRouterVite function and old Vite version #4680
Closed
yassine-ramla
started this conversation in
General
Replies: 1 comment
-
please raise this in the repo for the CLI : https://github.com/TanStack/create-tsrouter-app (and ideally create a PR for it :) ) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
When using the Vite + TanStack Router template (
pnpm create vite@latest
→ React → TanStack Router), the generated project:TanStackRouterVite()
Expected Behavior
The template should:
@tanstack/router-plugin
vite.config.ts
to usetanstackRouter()
Suggested Fix
Update the official Vite template variant for TanStack Router to reflect the current best practices and versions.
Thanks for the excellent work on TanStack — this will help keep new adopters from getting blocked.
Beta Was this translation helpful? Give feedback.
All reactions