Non-nested routes must include a leading slash character、、非嵌套路由必须包含前导斜杠字符

vue-router.esm.js?4af9:16 [vue-router] Non-nested routes must include a leading slash character. Fix the following routes:浏览器报错

浏览器提示错误

通常是非嵌套路由必须包含前导斜杠字符,说缺少斜杠
index.js 里的path路径书写缺少前斜杠
这里简单记录一下出错位置= = 。。。

©️2020 CSDN 皮肤主题: 1024 设计师:上身试试 返回首页