我们可以将 React 前端和 springboot 后端部署到一个 Azure Web 应用程序吗?

问题描述 投票:0回答:1

我想将react前端和springboot后端部署到azure webApp。 因为我不想为前端和后端创建两个单独的 webApp。创建一个网络应用程序有什么方法可以帮助我吗?

azure deployment azure-web-app-service
1个回答
0
投票

您可以尝试使用静态Web应用程序:https://learn.microsoft.com/es-es/azure/static-web-apps/deploy-react?pivots=github 您可以在其中使用 Angular、React 等部署 SPA。 它可以选择使用 azure 函数作为后端。

或者使用 SWA 和 Azure Spring Apps 作为后端: enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.