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

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

springboot部署多个vue项目

 

访问地址:

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

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

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

 

相关文章:

  • 2021-12-01
  • 2021-11-01
  • 2021-08-27
  • 2021-05-28
  • 2021-07-14
猜你喜欢
  • 2021-07-25
  • 2021-11-26
  • 2022-12-23
  • 2021-08-30
  • 2022-12-23
  • 2021-09-07
  • 2021-12-19
相关资源
相似解决方案