소스 검색

update registry source

RuoYi 4 년 전
부모
커밋
55a7a90bab
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      ruoyi-ui/README.md
  2. 1 1
      ruoyi-ui/bin/package.bat

+ 1 - 1
ruoyi-ui/README.md

@@ -11,7 +11,7 @@ cd ruoyi-ui
11 11
 npm install
12 12
 
13 13
 # 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题
14
-npm install --registry=https://registry.npm.taobao.org
14
+npm install --registry=https://registry.npmmirror.com
15 15
 
16 16
 # 启动服务
17 17
 npm run dev

+ 1 - 1
ruoyi-ui/bin/package.bat

@@ -7,6 +7,6 @@ echo.
7 7
 cd %~dp0
8 8
 
9 9
 cd ..
10
-npm install --registry=https://registry.npm.taobao.org
10
+npm install --registry=https://registry.npmmirror.com
11 11
 
12 12
 pause