Ah, I was missing the assets folder in my path to the asset, so the broken link had “optimised out” the asset no doubt:
{
"name": "Cool Theme Component",
"about_url": "",
"component": true,
"assets": {
"background": "background.png"
}
}
should have been:
{
"name": "Cool Theme Component",
"about_url": "",
"component": true,
"assets": {
"background": "assets/background.png"
}
}
Doh!
FYI I’m reference this in Javascript in an Ember Component, e.g.:
@computed
backgroundImage() {
return settings.theme_uploads.background;
}
That would raise an undefined error when the path is incorrect!
Thanks for listening! @david, sorry to waste your time.
@hakonbja did you solve your issue?