TanStackT
TanStack11mo ago
1 reply
colossal-harlequin

Public Routes Domain + Auth Routes Subdomain

As the SPA mode is rolling out soon this came to mind. Can this be achieved in one single TSR app?

Public routes on company.com/* (ie marketing page and blog… SSR)
Auth routes on tenantName.company.com/* (SPA)

Or would this need to be deployed as two separate TSR apps in say a monorepo?

Ignore that spa mode doesn’t exist more wondering about the routing here but I’m sure this is a common routing use case
Was this page helpful?