Skip to content

Commit

Permalink
Fixes bug add Project Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jekip committed Jul 30, 2021
1 parent b8f8334 commit 9d9cac8
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/layout/components/TagsView/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,7 @@
cursor: pointer;
display: inline-block;
position: relative;
flex: 0 0 auto;
span {
float: left;
Expand Down
19 changes: 19 additions & 0 deletions src/router/modules/docs.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { RouteRecordRaw } from 'vue-router';
import { Layout } from '@/router/constant';
import { DocumentTextOutline } from '@vicons/ionicons5';
import { renderIcon } from '@/utils/index';

const routes: Array<RouteRecordRaw> = [
{
path: '/external',
name: 'https://jekip.github.io/docs/',
component: Layout,
meta: {
title: '项目文档',
icon: renderIcon(DocumentTextOutline),
sort: 8,
},
},
];

export default routes;

0 comments on commit 9d9cac8

Please sign in to comment.