vue项目优化之路由懒加载

{
    path: '/login',
    name: '登录页面',
    hidden: true,
   meta: { title: 'Readme', icon: 'el-icon-menu' }, component: resolve
=> require(['../views/login/Login.vue'], resolve) }

 

转载于:https://www.cnblogs.com/sunjuncoder/p/9896866.html

你可能感兴趣的:(javascript)