Hello,
Due to legacy reasons we are not able to migrate to app router setup right now.
But we are looking to add support for multi tenants in our application.
I went over the Vercel Platforms guide on how to support multi tenancy, but it seems be based on app router setup. GitHub - vercel/platforms: A full-stack Next.js app with multi-tenancy and custom domain support. Built with Next.js App Router and the Vercel Domains API.
Is there any documentation for achieving the same with page router setup.
Any help would be much appreciated.
Thank you,
amyegan
(Amy Egan)
September 30, 2024, 2:52pm
2
Hey @amit-hellogoodwin . If you go far enough back in the history, you can find an example of that multi-tenant app repo using pages
instead of app
router – GitHub - vercel/platforms at 25cc4fa992e6da67ae93951090e5ac3bada58462
That should give you a solid example to work from, but I would recommend updating to App Router when you can. Most examples are going to use App router going forward. The Next.js docs include an upgrade guide that can help.
1 Like
Thank you, taking a look now.
2 Likes
system
(system)
Closed
October 2, 2024, 3:01pm
4
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.