vite-plugin-html
vite-plugin-html copied to clipboard
使用此插件会导致本地开发环境vue-router在history模式下页面404
"vite": "^4.3.5",
"vue": "^3.3.4",
"vue-router": "^4.2.4"
我发现访问public目录的文件也会 404 不管路由是什么模式,但只要注释图中这段代码编译后引入能正常访问
me too