[新增] card 组件

This commit is contained in:
就眠仪式
2021-09-27 08:43:12 +08:00
parent 81785521f6
commit 80952a2172
9 changed files with 61 additions and 5 deletions

View File

@@ -5,9 +5,8 @@ import {
Router,
} from 'vue-router'
import zhCN from './zh-CN'
import type { IRouteRecordRaw } from '/@src/index'
const routes: IRouteRecordRaw[] = [...zhCN]
const routes = [...zhCN]
export function createRouter(): Router {
const baseUrl = import.meta.env.BASE_URL

View File

@@ -32,6 +32,10 @@ const zhCN = [
path: '/zh-CN/components/panel',
component: () => import('../../docs/zh-CN/components/panel.md'),
meta: { title: '面板' },
},{
path: '/zh-CN/components/card',
component: () => import('../../docs/zh-CN/components/cards.md'),
meta: { title: '卡片' },
}
],
},