You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
487 B
22 lines
487 B
|
|
import course from '@/views/course';
|
|
import detail from '@/views/course/detail';
|
|
import list from '@/views/course/list';
|
|
|
|
export default [
|
|
{
|
|
name: "course",
|
|
path: "/course", // 博客首页
|
|
component: course
|
|
},
|
|
{
|
|
name: "course-list",
|
|
path: "/course/list/:id", // 博客列表页
|
|
component: list
|
|
},
|
|
{
|
|
name: "course-detail",
|
|
path: "/course/detail", // 博客详情页
|
|
component: detail
|
|
}
|
|
]
|