- 博客(2)
- 收藏
- 关注
原创 解决:webpack中使用devServer无法自动刷新浏览器页面,无法热加载
webpack中使用devServer无法自动刷新浏览器页面,无法热加载个人认为是版本问题,下面是我的版本"webpack": "^5.36.1","webpack-cli": "^4.6.0","webpack-dev-server": "^3.11.2"解决方案,修改webpack.config.js的配置如下:devServer: { contentBase: resolve(__dirname, 'build'), compress: true,
2021-05-01 15:16:38
710
原创 webpack使用postcss-larder报错:ValidationError: Invalid options object. PostCSS Loader has...的解决方案
ValidationError: Invalid options object. PostCSS Loader has been initialized using an options object that does not match the API schema.- options has an unknown property ‘plugins’. These properties are valid:object { postcssOptions?, execute?, sourceMap?
2021-04-29 19:14:34
3042
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人