build.config.js 569 B

1234567891011121314151617
  1. 'use strict'
  2. module.exports = {
  3. title: 'GIN-VUE-ADMIN',
  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: 'element-ui', scope: 'ELEMENT', path: '/element-ui/2.12.0/index.js' }
  15. ]
  16. }