vue3tomcat部署之后页面刷新出现404报错

在tomcat->webapps->root下面新建文件夹WEB-INF,里面新建web.xml内容如下



Router for Tomcat

404
/index.html


你可能感兴趣的:(web技术,前端vue,vue)