| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
…nsure webpack compatibility
|
I also ran into this issue and this fix handled it. any possibility of a merge in the future? |
Sorry, something went wrong.
|
I also simply fixed the issue by changing the path in the node_modules folder. I seem to be having another issue though. I've included the bootflap file in my App component: import 'bootflat/bootflat/css/bootflat.min.css'; And it appears to be applying styles to any elements but if I include any class names on a component it doesn't pick up the styles. I can't figure it out. Heres an example of my button: <button type="button" className="btn btn-info btn-block">Test</button> And my Webpack config css loader: test: /\.css$/, use: [ {loader:"style-loader"}, { loader:"css-loader", options:{ modules: true, sourceMap: true, localIdentName: '[name]__[local]--[hash:base64:5]' } } ] Anyone have any ideas or help for me? |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Referring to this issue, #103 I don't know the reasoning behind the choice, but it makes sense to have the css referencing the actual folder structure of the project.
This small change makes bootflat compatible with webpack.