config.js 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. module.exports = {
  2. base: '/report-doc/',
  3. title: 'AJ-Report',
  4. head: [
  5. ['link', { rel: 'icon', href: '/favicon.ico' }],
  6. ['link', { rel: 'shortcut icon', href: '/favicon.ico' }],
  7. ],
  8. description: '使用拖拽快速生成动态大屏报表',
  9. dest: 'dist',
  10. lastUpdated: 'Last Updated',
  11. theme: '',
  12. themeConfig: {
  13. logo: '/logo.png',
  14. smoothScroll: true,
  15. sidebarDepth: 2,
  16. nav: [
  17. {text: '首页', link: '/'},
  18. {text: '指南', link: '/guide/'},
  19. {text: 'GitHub', link: 'https://github.com/anji-plus/report'},
  20. {text: 'Gitee', link: 'https://gitee.com/anji-plus/report'},
  21. {text: '更多大屏', link: '/guide/bigScreenCase'},
  22. ],
  23. sidebar: {
  24. '/guide/': [
  25. {
  26. title: '介绍',
  27. collapsable: false,
  28. children: [
  29. {title: '简介', path: '/guide/'},
  30. {title: '技术支持', path: '/guide/briefSupport'},
  31. {title: '更多大屏', path: '/guide/bigScreenCase'},
  32. ]
  33. },
  34. {
  35. title: 'Releases',
  36. collapsable: false,
  37. children: [
  38. {title: 'V1.0.x', path: '/guide/releases/1.0.x'},
  39. {title: 'V1.1.x', path: '/guide/releases/1.1.x'},
  40. {title: 'V1.2.x', path: '/guide/releases/1.2.x'},
  41. {title: 'V1.3.x', path: '/guide/releases/1.3.x'},
  42. {title: 'V1.4.x', path: '/guide/releases/1.4.x'},
  43. {title: 'V1.5.x', path: '/guide/releases/1.5.x'},
  44. {title: 'V1.6.x', path: '/guide/releases/1.6.x'},
  45. ]
  46. },
  47. {
  48. title: '快速入门',
  49. collapsable: false,
  50. children: [
  51. {title: '开发环境', path: '/guide/quicklyDevelop'},
  52. {title: '发行版部署', path: '/guide/quicklyDistribution'},
  53. {title: '源码部署', path: '/guide/quicklySource'},
  54. {title: '前后端分离', path: '/guide/quicklySeparate'},
  55. {title: '快速使用', path: '/guide/quicklyUse'},
  56. ]
  57. },
  58. {
  59. title: '用户权限',
  60. collapsable: false,
  61. children: [
  62. {title: '权限管理', path: '/guide/authManager'},
  63. ]
  64. },
  65. {
  66. title: '操作手册',
  67. collapsable: false,
  68. children: [
  69. {title: '数据源', path: '/guide/datasource'},
  70. {title: '数据集', path: '/guide/dataset'},
  71. {title: '报表管理', path: '/guide/reportManager'},
  72. {title: '大屏报表', path: '/guide/dashboard'},
  73. {title: '表格报表', path: '/guide/excel'},
  74. {title: '导入导出', path: '/guide/importExport'},
  75. {title: '报表分享', path: '/guide/reportShare'},
  76. {title: '图表配置项', path: '/guide/chartsConfig'},
  77. {title: '图表组件', path: '/guide/charts'},
  78. {title: '图表联动', path: '/guide/chartsLinkage'},
  79. ]
  80. },
  81. {
  82. title: '其他',
  83. collapsable: false,
  84. children: [
  85. {title: '常见问题', path: '/guide/question'},
  86. {title: '常用知识', path: '/guide/knowledge'}
  87. ]
  88. },
  89. {
  90. title: '社区提供',
  91. collapsable: false,
  92. children: [
  93. {title: '说明', path: '/guide/community/report'},
  94. {title: '搭建AJ-Report开发环境', path: '/guide/community/AC1688/搭建aj-report开发环境'},
  95. {title: '大屏组件对齐和拖拽实现', path: '/guide/community/JiangHH/AJ_Report大屏设计时多组件对齐和拖拽移动实现'}
  96. ]
  97. }
  98. ],
  99. }
  100. },
  101. plugins: [
  102. ['@vuepress/back-to-top', true],
  103. ],
  104. configureWebpack: {
  105. resolve: {
  106. alias: {
  107. '@': '/.vuepress/public'
  108. }
  109. }
  110. }
  111. }