Skip to content
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

Global css don't get applied #27

Closed
plakak opened this issue May 15, 2016 · 2 comments
Closed

Global css don't get applied #27

plakak opened this issue May 15, 2016 · 2 comments

Comments

@plakak
Copy link

plakak commented May 15, 2016

Hi,

When I put my sass files (or even CSS files) in src/style, and then run npm style no styles are getting applied to the whole project. Is there a special name/way I should do that?
I don't want to apply styles in components, just get all styles from src/style.
I'm sure I'm doing something wrong, but can't where the problem is...

@Foxandxss
Copy link
Member

You need to import them once (main file or something). Webpack has no way of knowing that you want them unless you import them.

@plakak
Copy link
Author

plakak commented May 15, 2016

Ah, thank you! Worked like a charm.

@plakak plakak closed this as completed May 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants