angular 2 azure deploy refresh error : The resource you are looking for has been removed, had its name changed, or is temporarily unavailable

后端 未结 6 1067
半阙折子戏
半阙折子戏 2020-12-04 23:49

I have an Angular 2 rc-2 app with basic routing implemented.The paths are /path1 which is the default path and /path2.The home path /

6条回答
  •  爱一瞬间的悲伤
    2020-12-05 00:15

    If anyone is still stuck with this i would like to add two things.

    1. add the web.config to your src folder. In my case having the web.config in the root did not solve the issue.
    2. Add it to your .angular-cli.json like so

      "apps": [ { "root": "src", "outDir": "dist", "assets": [ "assets", "favicon.ico", "web.config" ], ... } ],

提交回复
热议问题