信创改造-前端项目部署至 TongWeb

1、dist 内添加文件夹 WEB-INF,对应文件 web.xml

<web-app>
    <error-page>
        <error-code>404</error-code>
        <location>/index.html</location>
    </error-page>
</web-app>

2、进入 dist 文件夹,全选打 war 包,部署即可,与后端部署行为一致
在这里插入图片描述