Node.js/yarn:修订间差异
来自康健生活
| 第80行: | 第80行: | ||
yarn config set npmRegistryServer http://npm.xxx.com</syntaxhighlight>|$|/home/kangkk}} | yarn config set npmRegistryServer http://npm.xxx.com</syntaxhighlight>|$|/home/kangkk}} | ||
=== 私有镜像源 === | === 私有镜像源 === | ||
Token 可以在 <code>.npmrc</code> 文件中获取(需要通过 NPM 登录之后)。 | |||
{{shc|<syntaxhighlight lang="bash"> | {{shc|<syntaxhighlight lang="bash"> | ||
yarn npm login | yarn npm login | ||