How to add global classes (or any other html attribute) to every layout #484
Unanswered
teleskop150750
asked this question in
Q&A
Replies: 2 comments
-
|
This one should be easy to implement by the maintainers. We already have a way to use a custom GlobalComponent for all the Stories with: However, when I tried adding a script there, it never ran. I tried doing this to add my custom theme class to the #app element: |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
This should now be possible using Wrappers: https://histoire.dev/guide/vue3/wrapper.html |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My css works if the root element contains a certain class. Can I set a custom class for each layout
Beta Was this translation helpful? Give feedback.
All reactions