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

后端 未结 6 1078
半阙折子戏
半阙折子戏 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:30

    I ran into an issue where I had my angular.json file set up correctly with:

    "assets": [
        "src/assets",
        "src/web.config"
    ],
    

    but the web.config file was not being copied into the built dist/ folder.

    I did not think about the fact that I was also using a custom webpack config file (extra-webpack.config.js) with a CopyPlugin plugin. Once I added the web.config path to my custom webpack config and re-built my project, the web.config file was there!

提交回复
热议问题