update registry source

master
RuoYi 3 years ago
parent d5f9b5b74a
commit b2c3f45141
  1. 2
      ruoyi-ui/README.md
  2. 2
      ruoyi-ui/bin/package.bat

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

@ -7,6 +7,6 @@ echo.
cd %~dp0 cd %~dp0
cd .. cd ..
npm install --registry=https://registry.npm.taobao.org npm install --registry=https://registry.npmmirror.com
pause pause
Loading…
Cancel
Save