histoire
histoire copied to clipboard
Add Global Decorator for stories
Clear and concise description of the problem
To describe some components, We have to made complexe and redondant templating to include the component inside a story (ex : with vuetify, add the VApp, VContent, VRow, ...)
But for each stories, if we made that, we have to change the source to show only our component and not the complexe decorator template.
Suggested solution
Add the possibility to configure a global decorator for :
- All histoire config (in the
histoire.setup.js
? - specific story
Alternative
No response
Additional context
No response
Validations
- [X] Follow our Code of Conduct
- [X] Read the Contributing Guidelines.
- [X] Read the docs.
- [X] Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.