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

ClassNames are changing in production mode: help #132

Open
avinashdvv opened this issue Aug 13, 2017 · 4 comments
Open

ClassNames are changing in production mode: help #132

avinashdvv opened this issue Aug 13, 2017 · 4 comments

Comments

@avinashdvv
Copy link

avinashdvv commented Aug 13, 2017

react 15.6.1
react-flexbox-grid": "^1.1.4"
and i am using create-react-app
I hosted my website on Heroku
in Heroku class names of row and col changing to "flexboxgrid__col-sm-12___1e5Uk flexboxgrid__col-md-6___5OSyJ" something like this, so CSS is not applying to the dom

@avinashdvv avinashdvv changed the title ClassNames are changing in production mode ClassNames are changing in production mode: help Aug 13, 2017
@avinashdvv avinashdvv reopened this Aug 13, 2017
@kiesman99
Copy link

kiesman99 commented Aug 13, 2017

@avinashdvv

Try importing this line in your App.js

import '../node_modules/react-flexbox-grid/lib/index.css';

@oriolpuig
Copy link

I've imported the line mentioned by @kiesman99 into my style.css/style.scss instead of modify the webpack configuration and works fine.
Thanks!

@roylee0704
Copy link
Owner

Let me know if its working for you guys in v1.1.5 =)

@oriolpuig
Copy link

@roylee0704 whitout importing CSS or what do you mean?

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

4 participants