- Issue created by @droces
- 🇬🇧United Kingdom droces Harrow on the Hill, London, UK
As a workaround, I have found that I can embed the component just once (inside one of the stories) like the following, and it will show once for each story (in other words, I see only one button in each story). However this won't work if my includes / embeds are not the same for each story, so it won't work in many cases.
{% stories chip with {title: 'Dreamykit/Simple components/Button',} %} {% story default with { name: '1. Button', args: { type: 'button', input_type: '', text: 'button', href: '', target: '', } } %} {% endstory %} {% story default with { name: '2. Link button', args: { type: 'link', input_type: '', text: 'link', href: '#', target: '_blank', } } %} {{ include('dreamykit:button') }} {% endstory %} {% endstories %}