Visual Studio npm配置淘宝镜像

基本配置

node.js安装
https://nodejs.org/zh-cn/

通过cmd配置npm淘宝路径镜像

npm config set registry https://registry.npm.taobao.org

查看设置是否成功

npm config list

npm config get registry //或者直接查看registry属性

在vs中添加npm工具搜索路径

配置应用

在asp.net core项目中通过npm引入bootstrap库

原文地址:https://www.cnblogs.com/zhuanghamiao/p/vs-npm.html