I have an easy question for which I hope you could help:
If you're iterating through an object, you can use a method. In such cases when the style is dependent on a property in the object, this is the only option I have found .... none of the options above work.
... data () { return { item: { featured_photo: null } } }, methods: { background (thing) { return thing ? 'red' : 'black'` } }