包管理

 

后台包管理

composer   install                    

composer update

composer dump-autoload

 

 

 

 

前端包管理

npm install

npm update

npm run build

 

npm 最新国内镜像源设置

1. 国内源

淘宝:https://registry.npmmirror.com/
腾讯云:https://mirrors.cloud.tencent.com/npm/
CNPM:https://r.cnpmjs.org/

#查询当前使用的镜像源
npm get registry

#设置为淘宝镜像源 
npm config set registry https://registry.npmmirror.com/

#验证设置
npm get registry

#还原为官方源
npm config set registry https://registry.npmjs.org/ 

 

posted on 2024-11-15 18:17  yipianchuyun  阅读(15)  评论(0)    收藏  举报

导航