1, 组合打包
把dist文件目录整个复制到 springboot项目的resource目录

2, 在springboot项目的application文件中配置
spring:
web:
resources:
static-locations: "classpath:/dist"
3, 配置vue项目退出的跳转url (可能不需要)
location.href = '/index.html';
4, 配置vue项目中router目录下 index.js的
history: createWebHashHistory(),
