在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