gin-vue-admin.js 971 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * gin-vue-admin web框架组
  3. *
  4. * */
  5. import Vue from 'vue'
  6. import './element_lazy' // 按需加载element
  7. import uploader from 'vue-simple-uploader'
  8. import APlayer from '@moefe/vue-aplayer'
  9. // time line css
  10. import '../../node_modules/timeline-vuejs/dist/timeline-vuejs.css'
  11. // 路由守卫
  12. import Bus from '@/utils/bus'
  13. // 加载网站配置文件夹
  14. import config from './config'
  15. Vue.prototype.$GIN_VUE_ADMIN = config
  16. Vue.use(Bus)
  17. Vue.use(APlayer, {
  18. defaultCover: 'https://github.com/u3u.png',
  19. productionTip: true
  20. })
  21. Vue.use(uploader)
  22. console.log(`
  23. 欢迎使用 Gin-Vue-Admin
  24. 当前版本:V2.4.4 RC
  25. 加群方式:微信:shouzi_1994 QQ群:622360840
  26. 默认自动化文档地址:http://127.0.0.1:${process.env.VUE_APP_SERVER_PORT}/swagger/index.html
  27. 默认前端文件运行地址:http://127.0.0.1:${process.env.VUE_APP_CLI_PORT}
  28. 如果项目让您获得了收益,希望您能请团队喝杯可乐:https://www.gin-vue-admin.com/docs/coffee
  29. `)