docsify/docs/cdn.md
2017-04-25 12:13:56 +08:00

1.2 KiB

CDN

Recommended: unpkg, which will reflect the latest version as soon as it is published to npm. You can also browse the source of the npm package at unpkg.com/docsify/.

Latest version

<!-- load css -->
<link rel="stylesheet" href="//unpkg.com/docsify/themes/vue.css">

<!-- load script -->
<script src="//unpkg.com/docsify/lib/docsify.js"></script>

Alternatively, use compressed files.

Specific version

<!-- load css -->
<link rel="stylesheet" href="//unpkg.com/docsify@2.0.0/themes/vue.css">

<!-- load script -->
<script src="//unpkg.com/docsify@2.0.0/lib/docsify.js"></script>

Compressed file

<!-- load css -->
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css">

<!-- load script -->
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
<!-- load css -->
<link rel="stylesheet" href="//unpkg.com/docsify@2.0.0/lib/themes/vue.css">

<!-- load script -->
<script src="//unpkg.com/docsify@2.0.0/lib/docsify.min.js"></script>

Other CDN