Vite (Tanstack Router) + Next monorepo #6741
Unanswered
EliasGit117
asked this question in
Q&A
Replies: 0 comments
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.
-
Hi, I'm trying to configure properly monorepo with Vite app along side with NextJS, and I have met some challenges on my path.
I get error

I fixed it by adding paths to tsconfig and tsconfig.app for Vite app
And added to vite.config this
But now I get this error

I've managed to fix it by changing import to
And it all works, BUT, the question, am I doing things right? Or my solution is terrible?
Beta Was this translation helpful? Give feedback.
All reactions