我收到此警告:
vue-router.esm.js:16 [vue-router]重复的命名路由定义:{ 名称:“ some_url”,路径:“ / some_url”}
像使用/!/
:
{
path: '/!/some_url',
name: 'some_url',
component: SomePage,
meta: {requiresAuth: false}
},
{
path: '/some_url',
name: 'some_url',
component: SomePage,
meta: {requiresAuth: false}
},
网址明显不同,是我缺少了什么还是配置错误?