router.js
const Login = r => require.ensure([], () => r(require("./pages/regLogin/login.vue")), "regLogin");
{
path: "/RegLogin",
component: regLogin,
name: "",
hidden: true,
children: [
{path: "/login",
component: Login,
meta: {allowBack: false}//
},
]
},
xx.vue
<router-link class="aHover" to="/login"></router-link>