[vue-router] Non-nested routes must include a leading slash character. Fix t

警告:[vue-router] Non-nested routes must include a leading slash character. Fix t

意思:大概意思是非嵌套路由必须包含一个前导斜杠字符。

于是我在在定义路由路径path处修改了一下,解决成功!即:在填写path时,前面需要将添加一个斜杠字符

你可能感兴趣的:(报错总结,vue.js,前端,javascript)