一、vue router path 与 name 区别
路径与别名的关系
<router-link to="/system">系统页面</router-link> <router-link :to="{name: ‘system‘, query: {id: 1}}">系统页面</router-link>
{ path: ‘/login‘, name: ‘login‘, component: () => import(/* webpackChunkName: "user" */ ‘../views/user/Login.vue‘) }