mirror of
https://github.com/jaywcjlove/reference.git
synced 2025-06-17 20:51:21 +08:00
website: adjust the layout. f60826e6da
This commit is contained in:
@ -327,13 +327,13 @@
|
||||
<pre class="language-bash"><code class="language-bash code-highlight"><span class="code-line"><span class="token function">npm</span> config <span class="token builtin class-name">set</span> registry https://registry.npmmirror.com
|
||||
</span></code></pre>
|
||||
<p>请参阅:<a href="https://npmmirror.com/">npmmirror 中国镜像站</a></p>
|
||||
</div></div><div class="h3wrap-body"><div class="wrap h4body-not-exist"><div class="wrap-header h4wrap"><h4 id="electronjs-镜像和缓存"><a aria-hidden="true" tabindex="-1" href="#electronjs-镜像和缓存"><span class="icon icon-link"></span></a>electronjs 镜像和缓存</h4><div class="wrap-body">
|
||||
</div></div><div class="h3wrap-body"><h4 id="electronjs-镜像和缓存"><a aria-hidden="true" tabindex="-1" href="#electronjs-镜像和缓存"><span class="icon icon-link"></span></a>electronjs 镜像和缓存</h4>
|
||||
<pre class="wrap-text "><code class="language-ini code-highlight"><span class="code-line"><span class="token key attr-name">ELECTRON_MIRROR</span><span class="token punctuation">=</span><span class="token value attr-value">"<span class="token inner-value">https://npmmirror.com/mirrors/electron/</span>"</span>
|
||||
</span><span class="code-line"><span class="token key attr-name">ELECTRON_BUILDER_BINARIES_MIRROR</span><span class="token punctuation">=</span><span class="token value attr-value">https://npmmirror.com/mirrors/electron-builder-binaries/</span>
|
||||
</span><span class="code-line"><span class="token comment">; ELECTRON_CUSTOM_DIR="{{ version }}"</span>
|
||||
</span></code></pre>
|
||||
<!--rehype:className=wrap-text -->
|
||||
</div></div></div></div></div><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="身份验证相关配置"><a aria-hidden="true" tabindex="-1" href="#身份验证相关配置"><span class="icon icon-link"></span></a>身份验证相关配置</h3><div class="wrap-body">
|
||||
</div></div><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="身份验证相关配置"><a aria-hidden="true" tabindex="-1" href="#身份验证相关配置"><span class="icon icon-link"></span></a>身份验证相关配置</h3><div class="wrap-body">
|
||||
<pre class="language-ini"><code class="language-ini code-highlight"><span class="code-line"><span class="token key attr-name">//registry.npmjs.org/:_authToken</span><span class="token punctuation">=</span><span class="token value attr-value">MYTOKEN</span>
|
||||
</span><span class="code-line"><span class="token comment">; 将适用于 @myorg 和 @another</span>
|
||||
</span><span class="code-line"><span class="token key attr-name">//somewhere.com/:_authToken</span><span class="token punctuation">=</span><span class="token value attr-value">MYTOKEN</span>
|
||||
|
Reference in New Issue
Block a user