报错原因文件重名。
解决方法:
第一步:public/index.html 重命名=>index.ejs
第二步:nodemodules/webpack/bin/webpack.js中添加
html: { template: './src/index.ejs' }
第三步:重启项目
报错原因文件重名。
解决方法:
第一步:public/index.html 重命名=>index.ejs
第二步:nodemodules/webpack/bin/webpack.js中添加
html: { template: './src/index.ejs' }
第三步:重启项目