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库

posted @ 2020-10-10 10:24  壮哈苗  阅读(2006)  评论(0编辑  收藏  举报