config.js 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. module.exports = {
  2. title: 'Datav',
  3. description: 'Just playing around',
  4. head: [
  5. ['link', { rel: 'icon', href: '/favicon.ico' }]
  6. ],
  7. host: 'localhost',
  8. port: 5000,
  9. locales: {
  10. '/': {
  11. lang: 'zh-CN',
  12. title: 'DataV',
  13. description: 'Vue 大屏数据展示组件库'
  14. },
  15. '/EN/': {
  16. lang: 'en-US',
  17. title: 'DataV',
  18. description: 'Vue large screen data display component library'
  19. }
  20. },
  21. themeConfig: {
  22. locales: {
  23. '/': {
  24. selectText: '选择语言',
  25. label: '简体中文',
  26. nav: [
  27. {
  28. text: '指南',
  29. link: '/guide/'
  30. },
  31. {
  32. text: '支持',
  33. link: '/support/'
  34. },
  35. {
  36. text: 'Demo',
  37. link: '/demo/'
  38. },
  39. {
  40. text: 'GitHub',
  41. items: [
  42. {
  43. text: '项目源码仓库',
  44. link: 'https://github.com/DataV-Team/Datav'
  45. },
  46. {
  47. text: '文档及Demo源码仓库',
  48. link: 'https://github.com/DataV-Team/datav.jiaminghi.com'
  49. }
  50. ]
  51. }
  52. ],
  53. sidebar: {
  54. '/guide/': [
  55. '',
  56. 'fullScreenContainer',
  57. 'loading',
  58. 'borderBox',
  59. 'decoration',
  60. 'charts',
  61. 'activeRingChart',
  62. 'capsuleChart',
  63. 'waterLevelPond',
  64. 'percentPond',
  65. 'flylineChart',
  66. 'flylineChartEnhanced',
  67. 'conicalColumnChart',
  68. 'digitalFlop',
  69. 'scrollBoard',
  70. 'scrollRankingBoard'
  71. ],
  72. '/dev/': ['']
  73. }
  74. },
  75. '/EN/': {
  76. selectText: 'Languages',
  77. label: 'English',
  78. nav: [
  79. {
  80. text: 'Guide',
  81. link: '/guide/'
  82. },
  83. {
  84. text: 'GitHub',
  85. items: [
  86. {
  87. text: '项目源码仓库',
  88. link: 'https://github.com/jiaming743/datav'
  89. },
  90. {
  91. text: '文档及Demo源码仓库',
  92. link: 'https://github.com/jiaming743/datav.jiaminghi.com'
  93. }
  94. ]
  95. }
  96. ],
  97. sidebar: {
  98. '/EN/guide/': [
  99. ''
  100. ]
  101. }
  102. }
  103. }
  104. }
  105. }