Is it possible to create both a file route and an API with the same path?
For example: GET /auth/login would show the login form, POST /auth/login would handle it?
4 Replies
optimistic-gold•3mo ago
yes. with server routes on the alpha branch
flat-fuchsiaOP•3mo ago
Great, thanks! Looking forward to its release.
optimistic-gold•3mo ago
you can use the alpha version already
optimistic-gold•3mo ago
GitHub
Start BETA - Tracking · TanStack router · Discussion #2863
Tracking any important changes for TanStack Start during the BETA period. If you are coming from the ALPHA of TanStack Start, you can see all the breaking changes that were made here - #2403