Why can't we have global Routes variable and interpolate to page url?


Any workarounds this?

Hey @apoorv-2204,

Pages are designed so that each page is a separate configuration & static url, and then you can have logic within a nav bar or other components to dynamically navigate to each page.

In case it is relevant to your use case, I also want to note that there can be buggy behavior with public apps if you have slashes in the page url (as noted here).

Could you share more about what blockers you'd run into with having login, home, orders, etc as distinct pages with hardcoded urls?