部署的相关内容:
1.后台Springboot
2.前台vue
3.vue打包部署到tomcat
4.springboot jar包启动
5.准备一台服务器
6.下载xshell或者xtrem用于连接服务器ip
7.下载xftp用于Windows给linux下传输文件
1.vue项目进行打包
1.获取后台数据的地址要进行改变
在这里插入代码片
```import axios from 'axios';
const instance=axios.create({
baseURL:'http://服务器ip:springboot项目的端口',
timeout:3000,
});
export default instance;
2.打包部署项目名称(我的是rent)
module.exports = {
publicPath: process.env.NODE_ENV === &