wangtao0101 / react-virtualized-transfer

Transfer component with virtualization
https://wangtao0101.github.io/react-virtualized-transfer/
MIT License
14 stars 3 forks source link

issue with importing react-virtualized #3

Closed deepshikha02 closed 4 years ago

deepshikha02 commented 4 years ago

Hi, I am trying to use the react-virtualized module in a project. Things work fine but the moment I try to import the styles file. I get an unexpected token error. import 'react-virtualized/styles.css';

ERROR in ./node_modules/react-virtualized/styles.css 3:0 Module parse failed: Unexpected token (3:0) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders / Collection default theme /

.ReactVirtualized__Collection { | }

I really need some help here.

Thanks Deeps

wangtao0101 commented 4 years ago

You should use css-loader to handle css files.

marisev commented 3 years ago

@deepshikha02 were you able to solve this? I’m running into the same issue :(