Mryqu's Notes


  • 首页

  • 搜索
close

折腾openui5-sample-app之使用npm镜像

时间: 2018-09-12   |   分类: FrontEnd     |   阅读: 23 字 ~1分钟

学习了一下SAP/openui5-sample-app,看看SAP是如何使用构建前端的。 SAP/openui5-sample-app中npm安装模块是从https://www.npmjs.com/下载的,不知道从淘宝NPM镜像下载是否会快些。

对npm使用镜像有以下几种方式,这里我使用第三种:

  1. 通过config命令
npm config set registry https://registry.npm.taobao.org npm info underscore
  1. 命令行指定
npm --registry https://registry.npm.taobao.org info underscore
  1. 在.npmrc文件中指定
registry = https://registry.npm.taobao.org

结果,速度上没什么感觉,都不快!

标题:折腾openui5-sample-app之使用npm镜像
作者:mryqu
声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 3.0 CN 许可协议。转载请注明出处!

#build# #nodejs# #npm#
折腾openui5-sample-app之使用Yarn替换Bower
[Spring] LDAP用户验证笔记
  • 文章目录
  • 站点概览

Programmer & Architect

662 日志
27 分类
1472 标签
GitHub Twitter FB Page
© 2009 - 2023 Mryqu's Notes
Powered by - Hugo v0.120.4
Theme by - NexT
0%