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…
- [Vuejs]-Vue directives inside templates
- [Vuejs]-Working with 'single file' Vue.js components in Orchard / ASP.NET MVC / Razor
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
- [Vuejs]-Vue.js 2.x Passing function to component
- [Vuejs]-Reorder dom not binding to vue array instance?