代码
// 路由配置
routes: [
{
name: 'home',
path: '/home'
component: Home,
meta: {
title: '首页'
}
}
]
// 主要代码
代码
// 路由配置
routes: [
{
name: 'home',
path: '/home'
component: Home,
meta: {
title: '首页'
}
}
]
// 主要代码