0wczar / airframe-react

Free Open Source High Quality Dashboard based on Bootstrap 4 & React 16: http://dashboards.webkom.co/react/airframe
https://airframe-react-lime.vercel.app
MIT License
3.93k stars 715 forks source link

external css does not work! #24

Open emaitee opened 4 years ago

emaitee commented 4 years ago

I'm using a module for displaying tree structure in my project, I got the following error,

./node_modules/react-sortable-tree/style.css 4:0
Module parse failed: Unexpected token (4: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
|  * Extra class applied to VirtualScroll through className prop
|  */
> .rst__virtualScrollOverride {
|   overflow: auto !important;
| }

I also discovered that any external css file in my project does not get applied

BenisonSam commented 3 years ago

Is there any solution to this? What did you do finally?

BenisonSam commented 3 years ago

Okay I found the solution. Just import your additional plugin css to app/styles/plugins/plugin.css