update registry source

This commit is contained in:
RuoYi 2022-03-30 10:39:09 +08:00
parent d5f9b5b74a
commit b2c3f45141
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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