[Vuejs]-Vue-Material navbar, Missing required prop: "to"

0👍

Ok, this is interesting.

As the issue you gave me pointed out, this might be a version problem, but my vue version is 2.9.2 (checked it with vue -V). Nevermind, I still ran npm update -g vue, and the answer I got from the terminal… well :

+ vue@2.5.11
updated 1 package in 0.626s

Now everything works fine (router, to, etc…).

But why though ? Does vue-material uses a slightly different vue, or there’s some parts that are redefined, like router link’s behavior on certain element like md-bottom-bar-item ?

And why npm install couldn’t fix that ? Well anyway, now it works, and my last questions exists probably because this framework is a beta and few things have to be done… or because I’m starting to do stuff with npm etc ^^

If you know something it would be helpful for me to know, feel free to tell me, I’d be glad to hear…

0👍

It will also happen in 1.0.0-beta-8, but there seems to be a commit to fix

https://github.com/vuematerial/vue-material/commit/6860d3a004b09baef751724c0d9bf1ebdf92b752

👤Otoan

Leave a comment