build.config.js 670 B

123456789101112131415161718
  1. 'use strict'
  2. module.exports = {
  3. title: '云园区平台',
  4. baseCdnUrl: '//cdn.staticfile.org',
  5. cdns: [
  6. /**
  7. * 如果设置path属性, { name: 'vue', scope: 'Vue', path: '/vue/2.6.9/vue.min.js' } 即编译出来以[baseCdnUrl][path]
  8. * 否则自动拼写 [baseCdnUrl]/[name]/[version]/[name].min.js
  9. * */
  10. { name: 'vue', scope: 'Vue' },
  11. { name: 'vue-router', scope: 'VueRouter' },
  12. { name: 'vuex', scope: 'Vuex' },
  13. { name: 'axios', scope: 'axios' },
  14. // { name: 'echarts', scope: 'echarts' },
  15. { name: 'element-ui', scope: 'ELEMENT', path: '/element-ui/2.12.0/index.js'},
  16. ]
  17. };