Generating CSS with Remix Resource Routes

04/01/2024 4 min Temporada 4 Episodio 27
Generating CSS with Remix Resource Routes

Listen "Generating CSS with Remix Resource Routes"

Episode Synopsis


Hi Kent. I am building an app where product sellers can add their products and they by default get a website listing their products.
On the app can make some basic customizations for their store website such as color, border radius etc. And each store owner's website is a subdomain. e.g kentstore.xyz.com
I am using remix for the stores. On page load, I want to fetch the styling config for the website from the db.
What would be the best approach for this ?. Your insight would be very valuable to me
I look forward to your response.
PS: I am totally loving the epic-web course. You're simply amazing.

Remix Resource Routes docs
Epic Web Resource Routes Exercise


Generating CSS with Remix Resource Routes