Confusion on turborepo deployment
Unanswered
MooKorea posted this in #help-forum
MooKoreaOP
I'm in a situation where I want to have two separate next.js applications sharing the same domain—one is the main website and another is an SPA for an online video game.
I read that one way to do that is with multi-zones as shown here: https://nextjs.org/docs/pages/building-your-application/deploying/multi-zones, but apparently that's replaced with "rewrites" for the app router https://nextjs.org/docs/app/api-reference/next-config-js/rewrites (I'm still confused if either would work for my case). And in the documentation for multi-zones, I have to create a monorepo. And to do that, I have to use turborepo as shown in the example screenshot. However, I can't seem to find anything online that says if I have to deploy each of the "apps" as separate projects or if it's possible to deploy the entire monorepo as one project.
I read that one way to do that is with multi-zones as shown here: https://nextjs.org/docs/pages/building-your-application/deploying/multi-zones, but apparently that's replaced with "rewrites" for the app router https://nextjs.org/docs/app/api-reference/next-config-js/rewrites (I'm still confused if either would work for my case). And in the documentation for multi-zones, I have to create a monorepo. And to do that, I have to use turborepo as shown in the example screenshot. However, I can't seem to find anything online that says if I have to deploy each of the "apps" as separate projects or if it's possible to deploy the entire monorepo as one project.