pruvious icon indicating copy to clipboard operation
pruvious copied to clipboard

Multi-tenant websites using same core

Open Blemming opened this issue 10 months ago • 1 comments

Hi, I love the work you have done on pruvious and I feel like it is the solution I have been looking for forever. We plan on using it for upcoming projects.

One issue I have to solve is "multi-tenancy" where our users are segmented into different industries and we have multiple websites one for say residential, one for corporate and one for professionals. In effort to avoid copy pasting and having to manage multiple websites it is all one big nuxt project with a nuxt server middleware that fetches the appropriate data according to the requesting subdomain.

I see have added utils like resolvePagePath, I was thinking something along the lines of adding a category to my pages and depending on the category fetching the appropriate page but I can foresee issues where the home page of the corporate website would have the same URL as the home page of the residential home page. I thought about having more than one page like collections but ideally we should be able to copy pages from website to website as a lot of the about pages are the same in the residential and professionals segments.

I am curious to know how you would go about solving this, and resolving path rendering with multiple subdomains. Thank you again for your amazing work 😀

Blemming avatar May 01 '24 19:05 Blemming