Type safe router in monorepo #6879
Unanswered
sujanChy00
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.
-
I have a monorepo with 3 apps admin,user and creator
they all share some same route names
i have created a separate package called Form
in which i have installed tanstack router
in some form i have used for Example:
const {email} = useSearch({from:"_/auth/login"})or link components from routerbut it throws type error when building the app with tsc
please some can guide me through how should i setup my project structure
or what i am doing is correctly fine and remove tsc when building the app.
Beta Was this translation helpful? Give feedback.
All reactions