Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Hydrogen Vite url() path not working

Hydrogen Vite url() path not working

devin0
Shopify Partner
2 0 0

When using url() in a tailwind config

theme {
  backgroundImage: {
    a: 'url(/myImage.png)',

this is working great in dev. But when deployed with Oxygen it's trying to use the CDN URL (as that is from where the CSS is sourced). Vite should correct this if I understand correctly. I think it's a problem with Oxygen

Replies 0 (0)