How to deploy an Angular4 + Webpack app on Azure web app without any source repository?

时间:2017-11-13 06:26:35

标签: angular azure webpack azure-web-app-service

I have angular 4 + webpack app which don't want to be checked in to any source repository such as git . I was wondering how i can deploy it to azure web app ?

1 个答案:

答案 0 :(得分:0)

首先,您应该在本地构建angular4应用程序,如果您使用angular-cli,则可以使用命令ng build来执行此操作。接下来,通过FTP将位于dist/文件夹中的文件上传到Azure App Service。

查看此帖子,了解如何使用FTP发布:

https://docs.microsoft.com/en-us/azure/app-service/app-service-deploy-ftp