You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to build an application where my base page would be /posts/xyz and I also want to support /fr/posts/xyz and /gb/posts/xyz without having to create unnecessary folders and components. I am using react-intl for internationalization and file based routing in tanstack router.
My folder structure is like: routes/
|---__root.tsx
|---posts/
|------xyz.tsx
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to build an application where my base page would be
/posts/xyz
and I also want to support/fr/posts/xyz
and/gb/posts/xyz
without having to create unnecessary folders and components. I am usingreact-intl
for internationalization and file based routing in tanstack router.My folder structure is like:
routes/
|---
__root.tsx
|---
posts/
|------
xyz.tsx
Can someone help?
Beta Was this translation helpful? Give feedback.
All reactions