mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-04 21:18:14 +08:00
12 lines
342 B
JavaScript
12 lines
342 B
JavaScript
import Demo from './components/demo.vue'
|
|
const AsyncComp = () => {
|
|
return {
|
|
component: import(`../components/avatar/demo/index.vue`),
|
|
}
|
|
}
|
|
export default [
|
|
{ path: '/components/:lang/:name/:demo?', component: Demo },
|
|
{ path: '/:lang?/test/:name/:demo?', component: AsyncComp },
|
|
{ path: '/*', redirect: '/components/cn/menu' },
|
|
]
|