Fixes bug add Project Docs

This commit is contained in:
Ah jung
2021-07-30 20:00:38 +08:00
parent b8f8334539
commit 9d9cac8064
2 changed files with 20 additions and 0 deletions

View File

@@ -557,6 +557,7 @@
cursor: pointer;
display: inline-block;
position: relative;
flex: 0 0 auto;
span {
float: left;

View File

@@ -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;