首页 > 解决方案 > 在 azure 上部署 Angular 应用程序

问题描述

我的前端应用程序在 nodejs 和 express 上的角度和后端服务上。我想在 Azure 上部署这些应用程序。我使用 Azure 应用服务来部署后端应用。我想知道我们是否需要在存储帐户中使用静态网站(复制 dist 文件夹内容,由 ng build 生成)部署 Angular 应用程序,或者我们需要网络服务器。这是首选方式?

标签: angularexpressazure-storagemeannodejs-8.11

解决方案


在存储中托管比维护 Web 服务器更简单成本更低。但由于您将后端应用托管在 Azure 应用服务上,因此您可以使用相同的应用服务计划来降低成本。

参考:

https://docs.microsoft.com/en-us/azure/javascript/tutorial-vscode-static-website-node-01


推荐阅读