feat: ✨ 增加构建分析页面示例
This commit is contained in:
@@ -5,6 +5,7 @@ export default {
|
||||
children: (pre => [
|
||||
{ path: `${pre}index`, title: 'Frame ', icon: 'home' },
|
||||
{ path: `${pre}d2-doc`, title: 'D2Admin 中文文档', iconSvg: 'd2-admin' },
|
||||
{ path: `${pre}html`, title: '静态 HTML', icon: 'code' }
|
||||
{ path: `${pre}html`, title: '静态 HTML', icon: 'code' },
|
||||
{ path: `${pre}report`, title: '构建分析', icon: 'pie-chart' }
|
||||
])('/demo/frame/')
|
||||
}
|
||||
|
||||
@@ -14,6 +14,7 @@ export default {
|
||||
children: (pre => [
|
||||
{ path: 'index', name: `${pre}index`, component: _import('demo/frame/index'), meta: { ...meta, title: 'Frame 首页' } },
|
||||
{ path: 'html', name: `${pre}html`, component: _import('demo/frame/html'), meta: { ...meta, title: '静态 HTML' } },
|
||||
{ path: 'report', name: `${pre}report`, component: _import('demo/frame/report'), meta: { ...meta, title: 'Size report' } },
|
||||
{ path: 'd2-doc', name: `${pre}d2-doc`, component: _import('demo/frame/d2-doc'), meta: { ...meta, title: 'D2Admin 中文文档' } }
|
||||
])('demo-frame-')
|
||||
}
|
||||
|
||||
3
src/views/demo/frame/report/index.vue
Normal file
3
src/views/demo/frame/report/index.vue
Normal file
@@ -0,0 +1,3 @@
|
||||
<template>
|
||||
<d2-container-frame :src="`${$baseUrl}report.html`"/>
|
||||
</template>
|
||||
Reference in New Issue
Block a user