mirror of
https://github.com/jekip/naive-ui-admin.git
synced 2026-02-08 15:32:28 +08:00
21 lines
501 B
TypeScript
21 lines
501 B
TypeScript
import { RouteRecordRaw } from 'vue-router';
|
|
import { Layout } from '@/router/constant';
|
|
import { DocumentTextOutline } from '@vicons/ionicons5';
|
|
import { renderIcon, renderNew } from '@/utils/index';
|
|
|
|
const routes: Array<RouteRecordRaw> = [
|
|
{
|
|
path: '/external',
|
|
name: 'https://jekip.github.io/docs/',
|
|
component: Layout,
|
|
meta: {
|
|
title: '项目文档',
|
|
icon: renderIcon(DocumentTextOutline),
|
|
sort: 8,
|
|
extra: renderNew(),
|
|
},
|
|
},
|
|
];
|
|
|
|
export default routes;
|