正常组件里的直接写就行,现在项目要求‘/’时跳到外部链接怎么解决[](
```html{path:'/login',meta:{title:'登录','},component: login},{path:'/',meta:{title:'首页',},component: about},
```)
那你路由里配置一下
可以用路由拦截