config.js 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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/briefUsing'},
  18. {text: '更多大屏', link: '/guide/bigScreenCase'},
  19. ],
  20. sidebar: {
  21. '/guide/': [
  22. {
  23. title: '介绍',
  24. collapsable: false,
  25. children: [
  26. {title: '简介', path: '/guide/'},
  27. {title: '谁在使用', path: '/guide/briefUsing'},
  28. {title: '技术支持', path: '/guide/briefSupport'},
  29. {title: '更多大屏', path: '/guide/bigScreenCase'},
  30. ]
  31. },
  32. {
  33. title: 'Releases',
  34. collapsable: false,
  35. children: [
  36. {title: 'V1.0.0', path: '/guide/releases/1.0.0'},
  37. {title: 'V1.1.0', path: '/guide/releases/1.1.0'},
  38. {title: 'V1.2.0', path: '/guide/releases/1.2.0'},
  39. {title: 'V1.3.0', path: '/guide/releases/1.3.0'},
  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. ]
  82. },
  83. {
  84. title: '社区提供',
  85. collapsable: false,
  86. children: [
  87. {title: '说明', path: '/guide/community/report'},
  88. {title: '搭建AJ-Report开发环境', path: '/guide/community/AC1688/搭建aj-report开发环境'}
  89. ]
  90. }
  91. ],
  92. }
  93. },
  94. plugins: [
  95. ['@vuepress/back-to-top', true],
  96. ],
  97. configureWebpack: {
  98. resolve: {
  99. alias: {
  100. '@': '/.vuepress/public'
  101. }
  102. }
  103. }
  104. }