config.js 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. module.exports = {
  2. base: '/doc/',
  3. title: '大屏设计',
  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: '操作手册', link: '/operation/'},
  16. {text: 'GitHub', link: 'https://github.com/anji-plus/report'},
  17. {text: 'Gitee', link: 'https://gitee.com/anji-plus/report'},
  18. ],
  19. sidebar: {
  20. '/guide/': [
  21. {
  22. title: '文档',
  23. collapsable: false,
  24. children: [
  25. {title: '介绍', path: '/guide/'},
  26. {title: '快速入门', path: '/guide/quickly'},
  27. {title: '项目介绍', path: '/guide/productintro'},
  28. {title: '系统运行', path: '/guide/deploy'}
  29. ]
  30. },
  31. {
  32. title: '其他',
  33. collapsable: false,
  34. children: [
  35. {title: '常见问题', path: '/guide/question'}
  36. ]
  37. }],
  38. '/operation/': [
  39. {
  40. title: '操作手册',
  41. collapsable: false,
  42. children: [
  43. {title: '数据源', path: '/operation/datasource'},
  44. {title: '数据集', path: '/operation/dataset'},
  45. {title: '大屏设计', path: '/operation/dashboard'},
  46. {title: '国际化', path: '/operation/i18n'},
  47. {title: '字典', path: '/operation/dict'},
  48. ]
  49. }
  50. ]
  51. }
  52. },
  53. plugins: [
  54. ['@vuepress/back-to-top', true],
  55. ],
  56. configureWebpack: {
  57. resolve: {
  58. alias: {
  59. '@': '/.vuepress/public'
  60. }
  61. }
  62. }
  63. }