动态增加路由的演示

Former-commit-id: 09afa0275b79bac197f18abe19f5136f74a56a15 [formerly 09afa0275b79bac197f18abe19f5136f74a56a15 [formerly 09afa0275b79bac197f18abe19f5136f74a56a15 [formerly 09afa0275b79bac197f18abe19f5136f74a56a15 [formerly 56ed017756f203a99f6f8214886d8c42bf6e7c45 [formerly 1ee3dca2bd17cf0cdd50d0ae1b2d72b643c5c13b]]]]]
Former-commit-id: 162b2efa6c1f40d2f82a60e6d46ca83f341b6e47
Former-commit-id: 63edc60bdf591ee34689102938c850596762ddf3
Former-commit-id: 524ace56fa7e3c219b0e317f57eacdb8819d5d8e [formerly 68e8b0adba042d31c389a5c477763af9f4c94d1a]
Former-commit-id: 20da1e8d1891bd4089b230f935260e88071c90e6
Former-commit-id: c978394b78ed728429205110b1b89be2651a42ab
Former-commit-id: 3ef346993eae5c049a866793ac015b19148d3e57
Former-commit-id: 1537e533b448fee2f0d94160e344b3515c0f4c3a
Former-commit-id: cdb3d246e64e1fd684beaf50981bfde7138de903
This commit is contained in:
FairyEver
2019-07-25 15:49:34 +08:00
parent 3cc14cba02
commit 4c0aba4047
6 changed files with 134 additions and 0 deletions

View File

@@ -37,6 +37,7 @@ export default {
{ path: 'log/console', name: `${pre}log-console`, component: _import('demo/playground/log/console'), meta: { ...meta, title: '控制台日志' } },
{ path: 'log/error', name: `${pre}log-error`, component: _import('demo/playground/log/error'), meta: { ...meta, title: '错误捕捉' } },
{ path: 'log/log', name: `${pre}log-log`, component: _import('demo/playground/log/log'), meta: { ...meta, title: '日志记录' } },
{ path: 'add-routes/routes', name: `${pre}add-routes-routes`, component: _import('demo/playground/add-routes/routes'), meta: { ...meta, title: '添加页面' } },
{ path: 'env', name: `${pre}env`, component: _import('demo/playground/env'), meta: { ...meta, title: '环境信息' } }
])('demo-playground-')
}