const Index = () => import('views/vod/Index') const ShareVideo = () => import('views/home/ShareVideo') const Home = () => import('views/home/Home') const TimelineIndex = () => import('views/home/Timeline') const VideoIndex = () => import('views/home/Video') const VideoTag = () => import('views/home/VideoTag') const ShortVideoIndex = () => import('views/home/ShortVideo') const VideoPage = () => import('views/home/VideoPage') const AudioIndex = () => import('views/home/Audio') const AudioPage = () => import('views/home/AudioPage') const ImagePage = () => import('views/home/ImagePage') const PlaylistIndex = () => import('views/home/PlaylistIndex') const PlaylistView = () => import('views/home/PlaylistView') export default { path: '/vod', name: 'Vod', component: Index, meta: { needAuth: false }, children: [ { path: '', name: 'Home', component: Home, meta: { needAuth: false } }, { path: '/vod/timeline', name: 'TimelineIndex', component: TimelineIndex, meta: { needAuth: true } }, { path: '/vod/shortvideo', name: 'ShortVideoIndex', component: ShortVideoIndex, meta: { needAuth: false } }, { path: '/vod/video', name: 'VideoIndex', component: VideoIndex, meta: { needAuth: false } }, { path: '/vod/video/:id', name: 'VideoPage', component: VideoPage, meta: { needAuth: false } }, { path: '/vod/video/tag/:tag', name: 'VideoTag', component: VideoTag, meta: { needAuth: false } }, { path: '/vod/audio', name: 'AudioIndex', component: AudioIndex, meta: { needAuth: false } }, { path: '/vod/audio/:audioId', name: 'AudioPage', component: AudioPage, meta: { needAuth: false } }, { path: '/vod/image/:albumId', name: 'ImagePage', component: ImagePage, meta: { needAuth: false } }, { path: '/vod/playlist', name: 'PlaylistIndex', component: PlaylistIndex, meta: { needAuth: false } }, { path: '/vod/playlist/:albumId', name: 'PlaylistView', component: PlaylistView, meta: { needAuth: false } }, { path: '/vod/s/:shareId', name: 'ShareVideo', component: ShareVideo, meta: { needAuth: false } } ] }