Hello! I have a nuxt PWA consuming an API to display several information. There are about 600 Subdomains which get connected to the PWA displaying different information with the same "template". I'm struggeling if it is better to create
- one project (connected with one subdomain) for each subdomain and using an environment variable to tell the API which data do display or
- to have only one project (connected all subdomains) and using the subdomain of the uri to tell the API which data to diplay
My thoughts:
- having one project for each subdomain could be better for performance? (each subdomain has it own "hosting environment"?)
- commiting a change would result in 600 parallel builds if I have one project for each subdomain - is that a problem?
- having to change anything in the vercel configuration would need to do it 600 times if I have 600 projects (I guess that this does not happen very often?)
Any one with experience to use the same Code on such an amount of sites here? Any ideas?
Thank you
Christian