You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.
Storybooks are for browser, webapp and shared. Webapp components depend on global styles and Bootstrap, but those should not be imported for shared components.
Solution proposal:
Use webpack loader to import the styles a component depends on as a string, then render them in a <style> tag in the story-specific decorator.
Storybooks are for browser, webapp and shared. Webapp components depend on global styles and Bootstrap, but those should not be imported for shared components.
Related issue: storybookjs/storybook#729
Solution proposal:
Use webpack loader to import the styles a component depends on as a string, then render them in a
<style>
tag in the story-specific decorator.Noticed by @attfarhan in #9628
This is crucial to solve if we want Percy screenshot tests for Storybooks (#9565).
The text was updated successfully, but these errors were encountered: