Skip to content

Instantly share code, notes, and snippets.

@huang-xiao-jian
Last active May 31, 2018 12:19
Show Gist options
  • Save huang-xiao-jian/a66ff80a5c811066dccb11811b734a49 to your computer and use it in GitHub Desktop.
Save huang-xiao-jian/a66ff80a5c811066dccb11811b734a49 to your computer and use it in GitHub Desktop.
CDN 外源配置
# use bootcdn.cn as external resources host
library:
- name: 'web-animations-js'
linkage: 'https://unpkg.com/[email protected]/web-animations.min.js'
environment:
development:
- name: 'babel-polyfill'
linkage: 'https://cdn.bootcss.com/babel-polyfill/6.26.0/polyfill.js'
- name: 'react'
linkage: 'https://cdn.bootcss.com/react/16.3.2/umd/react.development.js'
- name: 'react-dom'
linkage: 'https://cdn.bootcss.com/react-dom/16.3.2/umd/react-dom.development.js'
- name: 'jquery'
linkage: 'https://cdn.bootcss.com/jquery/3.3.1/jquery.js'
- name: 'lodash'
linkage: 'https://cdn.bootcss.com/lodash.js/4.17.10/lodash.js'
- name: 'echarts'
linkage: 'https://cdn.bootcss.com/echarts/4.1.0/echarts.js'
- name: 'bootstrap'
linkage:
- 'https://cdn.bootcss.com/bootstrap/4.1.1/js/bootstrap.js'
- 'https://cdn.bootcss.com/bootstrap/4.1.1/css/bootstrap.css'
- name: 'moment'
linkage:
- 'https://cdn.bootcss.com/moment.js/2.22.1/moment.js'
- 'https://cdn.bootcss.com/moment.js/2.22.1/locale/zh-cn.js'
production:
- name: 'babel-polyfill'
linkage: 'https://cdn.bootcss.com/babel-polyfill/6.26.0/polyfill.min.js'
- name: 'react'
linkage: 'https://cdn.bootcss.com/react/16.3.2/umd/react.production.min.js'
- name: 'react-dom'
linkage: 'https://cdn.bootcss.com/react-dom/16.3.2/umd/react-dom.production.min.js'
- name: 'jquery'
linkage: 'https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js'
- name: 'lodash'
linkage: 'https://cdn.bootcss.com/lodash.js/4.17.10/lodash.min.js'
- name: 'echarts'
linkage: 'https://cdn.bootcss.com/echarts/4.1.0/echarts.min.js'
- name: 'bootstrap'
linkage:
- 'https://cdn.bootcss.com/bootstrap/4.1.1/js/bootstrap.min.js'
- 'https://cdn.bootcss.com/bootstrap/4.1.1/css/bootstrap.min.css'
- name: 'moment'
linkage:
- 'https://cdn.bootcss.com/moment.js/2.22.1/moment.min.js'
- 'https://cdn.bootcss.com/moment.js/2.22.1/locale/zh-cn.js'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment