按照提示安装 运行时报错Cannot find module "assets/todos.less"
Opened this issue · 3 comments
987674712 commented
less也都安装了啊为什么不行呢
lolysc commented
woyichengnian commented
解决了吗? 我也遇到了 求助 解决方案
hauk0101 commented
webpack.config.js里面less相关的配置不能简写。
应该写为:
{ test: /.less$/, loader: "style-loader!css-loader!less-loader" },