settings.js 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. module.exports = {
  2. /**
  3. * @type {string}
  4. * @description Web page title
  5. */
  6. title: 'ChargEco Admin',
  7. /**
  8. * @type {string}
  9. * @description project name
  10. */
  11. projectName: 'ChargEco',
  12. /**
  13. * @type {string}
  14. * @description API url base service
  15. */
  16. baseUrl: '/steve',
  17. /**
  18. * @type {boolean} true | false
  19. * @description Whether show the settings right-panel
  20. */
  21. showSettings: false,
  22. /**
  23. * @type {boolean} true | false
  24. * @description Whether need tagsView
  25. */
  26. tagsView: false,
  27. /**
  28. * @type {boolean} true | false
  29. * @description Whether fix the header
  30. */
  31. fixedHeader: true,
  32. /**
  33. * @type {boolean} true | false
  34. * @description Whether show the logo in sidebar
  35. */
  36. sidebarLogo: true,
  37. /**
  38. * @type {string | array} 'production' | ['production', 'development']
  39. * @description Need show err logs component.
  40. * The default is only used in the production env
  41. * If you want to also use it in dev, you can pass ['production', 'development']
  42. */
  43. errorLog: 'production'
  44. }