基本配置

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工具搜索路径
Visual Studio npm配置淘宝镜像

配置应用

在asp.net core项目中通过npm引入bootstrap库
Visual Studio npm配置淘宝镜像

相关文章: