config.js 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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. ],
  19. sidebar: {
  20. '/guide/': [
  21. {
  22. title: '介绍',
  23. collapsable: false,
  24. children: [
  25. {title: '简介', path: '/guide/'},
  26. {title: '谁在使用', path: '/guide/briefUsing'},
  27. {title: '技术支持', path: '/guide/briefSupport'},
  28. ]
  29. },
  30. {
  31. title: '快速入门',
  32. collapsable: false,
  33. children: [
  34. {title: '开发环境', path: '/guide/quicklyDevelop'},
  35. {title: '发行版部署', path: '/guide/quicklyDistribution'},
  36. {title: '源码部署', path: '/guide/quicklySource'},
  37. {title: '前后端分离', path: '/guide/quicklySeparate'},
  38. ]
  39. },
  40. {
  41. title: '用户权限',
  42. collapsable: false,
  43. children: [
  44. {title: '权限管理', path: '/guide/authmanager'},
  45. ]
  46. },
  47. {
  48. title: '操作手册',
  49. collapsable: false,
  50. children: [
  51. {title: '数据源', path: '/guide/datasource'},
  52. {title: '数据集', path: '/guide/dataset'},
  53. {title: '报表管理', path: '/guide/reportmanager'},
  54. {title: '大屏报表', path: '/guide/dashboard'},
  55. {title: '表格报表', path: '/guide/execl'},
  56. {title: '导入导出', path: '/guide/importexport'},
  57. ]
  58. },
  59. {
  60. title: '其他',
  61. collapsable: false,
  62. children: [
  63. {title: '常见问题', path: '/guide/question'}
  64. ]
  65. },
  66. {
  67. title: '社区提供',
  68. collapsable: false,
  69. children: [
  70. {title: '搭建AJ-Report开发环境', path: '/guide/community/AC1688/搭建aj-report开发环境'}
  71. ]
  72. }
  73. ],
  74. }
  75. },
  76. plugins: [
  77. ['@vuepress/back-to-top', true],
  78. ],
  79. configureWebpack: {
  80. resolve: {
  81. alias: {
  82. '@': '/.vuepress/public'
  83. }
  84. }
  85. }
  86. }