在这里使用同构样式加载器解决这个问题有什么解决方案吗?kriasoft/react-starter-kit
使用react-starter-kit,以及他们在这里提出的解决方案:roylee0704/react-flexbox-grid似乎没有解决这个问题。
发布于 2017-12-19 19:41:58
首先,您需要像这样导入您的flexgrid css:
import grid from 'react-flexgrid/lib/flexgrid.css';。。。
最后,您需要将导入的样式添加到样式加载器中,如下所示:
export default withStyles(grid, s)(Component)但是我使用的不是你链接的包,而是这个:https://github.com/nkt/react-flexgrid适用于我。
https://stackoverflow.com/questions/47388722
复制相似问题