springboot整合多个VUE项目_防坑

在springboot下部署多个vue项目,只需要将vue打包成静态文件后,将其放在resources的静态文件夹下即可。

如下图:static目录下有三个vue的静态文件夹,
分别为运营后台(admin)、
企业后台(company)、
网站前端(www)
在这里插入图片描述

访问地址:

运营后台:http://ip:port/admin/index.html

企业后台:http://ip:port/company/index.html

网站前端:http://ip:port/front/index.html

如果不好用:请修构建后的index.html中的src和href标签,加上对应的/admin或/company!

如果不好用:请修构建后的index.html中的src和href标签,加上对应的/admin或/company!

如果不好用:请修构建后的index.html中的src和href标签,加上对应的/admin或/company!

猜你喜欢

转载自blog.csdn.net/qq_29752857/article/details/113205866