#Typescript error with Vite + file based routing
15 messages · Page 1 of 1 (latest)
I use the router with file based routing and Vite plugin. I don't find any changelog what might could cause this.
Make sure you are importing from @tanstack/react-router and not @tanstack/react-router/dist/...
this is the entire file.. I guess its some tsconfig setting of Typescript? But I can't really tell, I am using the latest version 5.5.4
If you can recreate this, I can probably debug this.
Im not sure how to isolate this.. is there template starter for typescript + vite + file based routing?
thx.. i try to isolate it but no luck so far
now i did.. so it has something to do with my typescript
i removed tsconfig.dev.json
and ported all my tsconfig.json into the stackblitz, then immideately i see the error
Is there a tsconfig section out there to see what are the minimum requirements to run the project ?
all of the examples extending a tsconfig.base.json which I dont think is actually part of the repo