Hostname-specific React Component Imports #43
steven-tey
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Any news on this? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When building more complex multi-tenant applications where each site has it's own style guidelines, custom layouts, etc., it would be useful to import React Components that are specific to the hostname on server-side.
For example:
store.com
gap.store.com
,gucci.store.com
) have their own customLayout.js
componentsBonus: Being able to create & use custom
tailwind.config.js
setup for each siteBeta Was this translation helpful? Give feedback.
All reactions