You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

47 lines
1.0 KiB

  1. var path = require('path')
  2. module.exports = {
  3. // build: {
  4. // index: path.resolve(__dirname, '../dist/index.html'),
  5. // assetsRoot: path.resolve(__dirname, '../dist'),
  6. // assetsSubDirectory: 'static',
  7. // assetsPublicPath: '../',
  8. // productionSourceMap: true
  9. // },
  10. /**
  11. * @description token在Cookie中存储的天数,默认1天
  12. */
  13. cookieExpires: 1,
  14. /**
  15. * @description 是否使用国际化,默认为false
  16. * 如果不使用,则需要在路由中给需要在菜单中展示的路由设置meta: {title: 'xxx'}
  17. * 用来在菜单中显示文字
  18. */
  19. useI18n: false,
  20. /**
  21. * oss server
  22. */
  23. oss: {
  24. dev: 'oss.abc.com',
  25. pro: ''
  26. },
  27. /**
  28. * 单点登录
  29. */
  30. sso: {
  31. dev: 'http://passport.abc.com/',
  32. pro: ''
  33. },
  34. clientId:{
  35. dev: '1',
  36. pro: ''
  37. },
  38. /**
  39. * @description api请求基础路径
  40. */
  41. baseUrl: {
  42. dev: 'http://47.100.188.195:7006',
  43. pro: 'http://47.100.188.195:7006'
  44. }
  45. }