美文网首页
CDN引入版本规范

CDN引入版本规范

作者: xilong | 来源:发表于2019-04-23 11:19 被阅读0次

CDN引入版本规范

// load any project hosted on npm

https://cdn.jsdelivr.net/npm/package@version/file


// load jQuery v3.2.1

  https://cdn.jsdelivr.net/npm/jquery@3.2.1/dist/jquery.min.js


// use a version range instead of a specific version

  https://cdn.jsdelivr.net/npm/jquery@3.2/dist/jquery.min.js

    https://cdn.jsdelivr.net/npm/jquery@3/dist/jquery.min.js


// omit the version completely to get the latest one

// you should NOT use this in production

    https://cdn.jsdelivr.net/npm/jquery/dist/jquery.min.js


// add ".min" to any JS/CSS file to get a minified version

// if one doesn't exist, we'll generate it for you

    https://cdn.jsdelivr.net/npm/jquery@3.2.1/src/core.min.js


// omit the file path to get the default file

    https://cdn.jsdelivr.net/npm/jquery@3.2


// add / at the end to get a directory listing

    https://cdn.jsdelivr.net/npm/jquery/

相关文章

  • CDN引入版本规范

    CDN引入版本规范

  • 引入CDN

    jquery weui Swiper

  • CDN引入

    http://www.staticfile.org/ 所有开源库!!!! vue.js axios bootstr...

  • jQuery

    一、jQuery的安装 本地引入 CDN引入(自由选择CDN源) 二、使用 $(document).ready(f...

  • vue使用cdn引入vue和element-ui

    #vue使用cdn引入vue和element-ui # element-ui 关于使用cdn引入方式报错 Refe...

  • 116、解决vue打包后vendor.js文件过大问题 ---c

    第一步、cdn引入各种包 index.html中cdn的方式引入vue、vuex、axios、element-ui...

  • Vue.js 安装

    1、独立版本 我们可以在 Vue.js 的官网上直接下载 vue.min.js 并用标签引入。 2、使用 CDN ...

  • Vant-移动端Vue组件库

    通过 CDN 引入 使用 Vant 最简单的方法是直接在 html 文件中引入 CDN 链接,之后你可以通过全局变...

  • html cdn 引入

    【rel=’nofllow’】 的作用,它是告诉搜索引擎,不要将该链接计入权重。因此多数情况下,我们可以将一些不想...

  • Cocoapods1.8.4

    CDN支持首先在1.7版本中引入,并在1.7.2中完成。它旨在极大地加快初始设置和依赖关系分析的速度。在1.8版本...

网友评论

      本文标题:CDN引入版本规范

      本文链接:https://www.haomeiwen.com/subject/wsamgqtx.html