Vue project change directory run error:Multiple assets emit different content to the same filename index.html

Solution:
1. Delete node_modules folder, re-execute the command NPM install
2. Rename Public/index.html to index.ejs
3. Add html: { template: './src/index.ejs' } in node_nodules/webpack/bin/webpack.
4 Restart project

Read More: