一、Vue-router

1.1路由懒加载

{
  path:'/user/:id',
    component:()=>import('../components/User.vue')
}

1.2认识嵌套路由

1.3传递参数

1.4导航守卫

1.5keep-alive