config.js 4.4 KB

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