-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loading styles with browserify #129
Comments
@ghosh Did you find a way to load styles via Browserify? I'm having the same issue and can't get any styling loaded. Thanks in advance! |
@billgloff I realized that you don't really need to lead styles via browserify. A webpack conf already comes bundled with react-storybook. Therefore you can use browserify for your app, while storybook uses webpack. All you need to do is install the loaders locally, This helped me - https://github.com/kadirahq/react-storybook/blob/master/docs/setting_up_for_css.md This is what my
And then you can just require your main compiled css file into the
Hope this helps. |
Is there any way of loading styles with browserify? Similar to like that of webpack?
The text was updated successfully, but these errors were encountered: