vue项目更换目录运行报错:Multiple assets emit different content to the same filename index.html
解决办法:1.删除node_modules文件夹,重新执行命令npm install2.将public/index.html更名为index.ejs3.在node_nodules/webpack/bin/webpack.js中加入html: { template: './src/index.ejs' }4.重启项目
·
解决办法:
1.删除node_modules文件夹,重新执行命令npm install
2.将public/index.html更名为index.ejs
3.在node_nodules/webpack/bin/webpack.js中加入html: { template: './src/index.ejs' }
4.重启项目
更多推荐
已为社区贡献1条内容
所有评论(0)