-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Styles not being loaded, followed instructions on docs #3177
Comments
I believe the |
@danielduan I'm sorry I didn't follow, could you provide a code line to see what is it, please? |
|
|
depends on where your |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook! |
Issue details
I'm using webpack
2.4.1
. Followed the instructions in custom webpack config to load SCSS files.Now, here's the thing. My app loads a single
styles.scss
files, which@import
s fromnode_modules
and relative partial scss files:The styles coming from
react-virtualized
work (I see a change when commenting on/off the import line). But the one from./_tables
don't. The styles are not in the page.I even tested adding a non existing
@import
call inside_tables.scss
,@import './non-existing'
to see if it crashes, and it does crash, so at the very least the file is being read.In the actual app, the loading is done in the
src/index.js
file.In the storybook, I don't really know where to load it, so I'm doing directly in the
index.story.js
file:import '../src/assets/styles.scss';
.As I said before, the
.storybook/webpack.config.js
is the same as the one on the docs page:Any idea on what could be missing?
Please specify which version of Storybook and optionally any affected addons that you're running
Affected platforms
The text was updated successfully, but these errors were encountered: