config.js 895 B

12345678910111213141516171819202122232425262728293031323334
  1. module.exports = {
  2. title: 'Vue Router Tab',
  3. description: '基于 Vue Router 的路由页签组件',
  4. // 主题配置
  5. themeConfig: {
  6. nav: [
  7. { text: '教程', link: '/guide.html' },
  8. { text: 'API', link: '/api.html' },
  9. { text: '实例', link: 'https://bhuh12.github.io/vue-router-tab/demo/' }
  10. ],
  11. sidebar: 'auto',
  12. displayAllHeaders: true,
  13. // 假定是 GitHub. 同时也可以是一个完整的 GitLab URL
  14. repo: 'bhuh12/vue-router-tab',
  15. // 自定义仓库链接文字。默认从 `themeConfig.repo` 中自动推断为
  16. // "GitHub"/"GitLab"/"Bitbucket" 其中之一,或是 "Source"。
  17. repoLabel: '查看源码',
  18. // 假如文档放在一个特定的分支下:
  19. docsBranch: 'dev',
  20. lastUpdated: '上次更新: ',
  21. },
  22. // markdow 配置
  23. markdown: {
  24. lineNumbers: true,
  25. },
  26. plugins: ['@vuepress/back-to-top']
  27. }