Bower replacement in Visual Studio 2017 ASP.NET MVC Core Template

前端 未结 6 2314
情深已故
情深已故 2021-02-12 10:59

Lately I created a ASP.NET MVC Core project from scratch using Visual Studio 2017 (15.6.3). I discovered the usual JavaScript frameworks:

  • bootstrap
  • jquery
6条回答
  •  抹茶落季
    2021-02-12 11:30

    The following blog worked for me, although it claims the issue would be fixed in 15.8 which is the opposite of this issue:

    https://blogs.msdn.microsoft.com/webdev/2018/07/05/workaround-for-bower-version-deprecation/

    I have updated the .bowerrc file to include:

    "registry": "https://registry.bower.io"

    I then right clicked the bower.json and Restore packages. Then voila!

提交回复
热议问题