I am using JSS code first and want to create a component that has its datasource set to another item from which it pulls its data.
Lets say i have a 'BlogPromotionSpot' component that does not have any data itself, but wants to pull data from an actual 'BlogPost' component.
- componentName: BlogPromotionSpot <No fields here so a local datasource is created> <Just pull data from another blogpost item>
So basically a 'BlogPromotionSpot' does not need a template, because it always just references a 'BlogPost'
Is there any way to do this with Sitecore JSS code first ?