radio4000 / components

web-components to build the r4 interfaces, uses the sdk
https://components.radio4000.com/
1 stars 0 forks source link

Theme URLs are broken when loaded via CDN #140

Closed oskarrough closed 1 year ago

oskarrough commented 1 year ago

We load the themes via ./themes/x.css. This works when you serve the r4-app from the vite build.

But if you load r4-app via a CDN, you only load 1 JS file, we can't rely on the relative style paths. So what to do?