Skip to content

Commit

Permalink
doc: ...
Browse files Browse the repository at this point in the history
  • Loading branch information
daGaiGuanYu committed Mar 25, 2023
1 parent 2275360 commit be6c911
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ <h4>通过 npm</h4>
import '@ppzp/noty/content/index.css' // 引入默认样式</code></pre>

<h4>通过 CDN</h4>
<pre><code><link rel="stylesheet" href="https://unpkg.com/@ppzp/noty.js/content/index.css">
<script src="https://unpkg.com/@ppzp/noty.js/global.js" type="module"></script></code></pre>
<pre><code class="language-html">&lt;link rel="stylesheet" href="https://unpkg.com/@ppzp/noty.js/content/index.css"&gt;
&lt;script src="https://unpkg.com/@ppzp/noty.js/global.js" type="module"&gt;&lt;/script&gt;</code></pre>
<p>通过 CDN 的方式引入后,你可以通过 window.noty 使用 Noty.js 的默认配置</p>
</section>

Expand Down

0 comments on commit be6c911

Please sign in to comment.