Expand my Community achievements bar.

SOLVED

Multiple sites with same code base but different UI

Avatar

Level 2

We have a site-A which uses a bunch of structured templates and some components who designs are under the /apps/<my-app>/components/component-xyz/design  folder. Now we are building a new site Site-B which plans to reuse the component set but the site-B has a different UI. Can i adopt style system to implement this. In case i adopt style system would i have reauthor  all the content of site-A?

What are the limitations of the Style system?

What are the other options other than taking a copy of the component set for site-B and then redesign the components.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

If your component structure is totally different from site A, then yes you may need to create new components.

If your site B is only differ in terms of look and feel you can refer Multiple site with different styles on same codebase

If siteB is slightly different you can use conditions like if above post for other items as well.

Thanks

Arun



Arun Patidar

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi,

If your component structure is totally different from site A, then yes you may need to create new components.

If your site B is only differ in terms of look and feel you can refer Multiple site with different styles on same codebase

If siteB is slightly different you can use conditions like if above post for other items as well.

Thanks

Arun



Arun Patidar