react-flexbox-grid icon indicating copy to clipboard operation
react-flexbox-grid copied to clipboard

ClassNames are changing in production mode: help

Open avinashdvv opened this issue 7 years ago • 4 comments

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 avatar Aug 13 '17 07:08 avinashdvv

@avinashdvv

Try importing this line in your App.js

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

kiesman99 avatar Aug 13 '17 17:08 kiesman99

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

oriolpuig avatar Aug 21 '17 08:08 oriolpuig

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

roylee0704 avatar Aug 24 '17 19:08 roylee0704

@roylee0704 whitout importing CSS or what do you mean?

oriolpuig avatar Aug 25 '17 07:08 oriolpuig