当前位置:
代码片段
const HtmlWebpackPlugin = require('html-webpack-plugin')
new HtmlWebpackPlugin({
filename: 'index.html',
template: 'index.html',
favicon: resolve('favicon.ico'),
inject: true,
templateParameters: {
conf: require('../conf.json')
}
}),
"html-webpack-plugin": "^3.0",
当前解决办法 版本问题,改成下面的版本就正常了。
"html-webpack-plugin": "^2.30.1",





![通过nginx方式解决跨域问题[具体配置收藏一下]](https://www.makesoft.cn/api/uploads/image/png/2023/4/30/1682841555770.png)