简体   繁体   English

如何在 Azure 应用服务上托管 Angular Universal 9?

[英]How to host Angular Universal 9 on Azure App Service?

I have 2 applications in: Angular Universal 9 & standard Angular 9 and I have to host them on the same App Service (Stack: .NET 4.7 with node.js 12.13.0).我有 2 个应用程序:Angular Universal 9 和标准 Angular 9,我必须将它们托管在同一个应用服务上(堆栈:.NET 4.7 和 node.js 12.13.0)。 Currently an app with Angular 9 is working but I have a problem with deploying an app with Angular Universal 9.目前,一个带有 Angular 9 的应用程序正在运行,但我在部署带有 Angular Universal 9 的应用程序时遇到了问题。

我解决了这个问题,我不得不改变: - servet.ts 路径到带有 index.html 的 dist 文件夹 - web.config 规则到 dist-server/main.js 而不是 server.js

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用.Net堆栈在Azure App Service上托管Angular Universal 9 - Host Angular Universal 9 on Azure App Service with .Net stack 将 Angular 8 通用应用程序部署到 Linux 运行节点上的 Azure 应用程序服务 - Deploy an Angular 8 Universal App to an Azure App Service on Linux Running Node 在 Azure Web 应用服务中部署 Angular 通用应用 - 基于 Linux - Deploying an Angular Universal App in Azure web app service - Linux based 如何在Azure Linux Web应用程序上托管Angular - How to host an angular on Azure linux web app 如何更改Azure Web App服务的主机名 - how to change host name of azure web app service 如何在同一个 Azure Web 应用服务中托管多个应用程序? - How to host multiple applications in the same Azure Web App Service? 我如何从Windows通用应用程序调用Azure服务总线 - how do i call azure service bus from windows universal app Azure应用服务-我的主机文件 - Azure App Service - My Host file Azure ZC6E190B284633C48E39E55049DA3CCE8 中的主机 static HTML - Host static HTML in Azure Web App Service 如何在同一个 ZCF04A02E37B774FC3191A48F605C3 应用程序中部署 angular 应用程序和 web API 应用程序? - How to deploy angular app and web API in same azure app service?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM