Deploy Angular 2 with Azure Webapp

前端 未结 6 911
感动是毒
感动是毒 2020-12-05 05:38

How can can I deploy an angular 2 webapp to azure? I guess I need some type of final compilation script.

Thanks in advance.

6条回答
  •  一向
    一向 (楼主)
    2020-12-05 06:35

    If you need this for Continuous deployment purposes, and you are using git repo, than it's very simple, just follow instructions here Continuous deployment using GIT in Azure App Service.

    But, in general, it's not directly related to angular2. Try also this Using Windows PowerShell scripts to publish to dev and test environments capabilities.

    angular-cli, which is (or will became) main tool for angular building, testing, deploying, at this time do not have such function, nor requirement (as i know so far). You can request feature on their github.

提交回复
热议问题