openks / learn-vue

自定义组件文档
https://openks.github.io/learn-vue
0 stars 0 forks source link

[vue-router] Duplicate named routes definition: { name: "index", path: "/index" } #36

Open openks opened 7 years ago

openks commented 7 years ago

pull了下代码竟然发现有重复router信息,也是无语了 删除掉多余的router信息即可

openks commented 7 years ago

38 删除路由后发现会出现另外问题,有的连接可能找不到路由,最好还是使用路由别名