diff --git a/src/pages/frame/doc/index.vue b/src/pages/frame/doc/index.vue new file mode 100644 index 0000000..1cdf7c2 --- /dev/null +++ b/src/pages/frame/doc/index.vue @@ -0,0 +1,86 @@ + + + diff --git a/src/pages/frame/tdesign/index.vue b/src/pages/frame/tdesign/index.vue new file mode 100644 index 0000000..c7be24a --- /dev/null +++ b/src/pages/frame/tdesign/index.vue @@ -0,0 +1,86 @@ + + + diff --git a/src/router/modules/components.ts b/src/router/modules/components.ts index fb56cca..2e000c8 100644 --- a/src/router/modules/components.ts +++ b/src/router/modules/components.ts @@ -89,6 +89,32 @@ export default [ }, ], }, + { + path: '/frame', + name: 'frame', + component: Layout, + redirect: '/frame/doc', + meta: { title: '外部页面', icon: 'internet' }, + children: [ + { + path: 'doc', + name: 'Doc', + component: () => import('@/pages/frame/doc/index.vue'), + meta: { title: '使用文档(内嵌)' }, + }, + { + path: 'TDesign', + name: 'TDesign', + component: () => import('@/pages/frame/tdesign/index.vue'), + meta: { title: 'TDesign 文档(内嵌)' }, + }, + { + path: 'https://tdesign.tencent.com/vue-next/getting-started', + name: 'TDesign2', + meta: { title: 'TDesign 文档(外链)' }, + }, + ], + }, { path: '/result', name: 'result',