💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
# requirejs <https://cdn.bootcss.com/require.js/2.3.6/require.min.js> 加载文件js和css ``` <pre class="calibre16">``` require<span class="token2">.</span><span class="token1">config</span><span class="token2">(</span><span class="token2">{</span> paths<span class="token2">:</span> <span class="token2">{</span> layer<span class="token2">:</span><span class="token4">"layer"</span><span class="token2">,</span> validator<span class="token2">:</span><span class="token4">"validator.min"</span> <span class="token2">}</span><span class="token2">,</span>shim<span class="token2">:</span><span class="token2">{</span> layer<span class="token2">:</span><span class="token2">[</span><span class="token4">"css!layer.css"</span><span class="token2">]</span> <span class="token2">}</span> <span class="token2">}</span><span class="token2">)</span><span class="token2">;</span> <span class="token1">require</span><span class="token2">(</span><span class="token2">[</span><span class="token4">'layer'</span><span class="token2">,</span><span class="token4">"validator"</span><span class="token2">]</span><span class="token2">,</span> <span class="token5">function</span><span class="token2">(</span>layer<span class="token2">,</span>validator<span class="token2">)</span> <span class="token2">{</span> <span class="token2">}</span><span class="token2">)</span> ``` ```