vue-onsenui and vue.js 2 compatibility



  • I’m experimenting with OnsenUI by building a small demo app. So far the learning experience is great as I find Onsen very good and easy to start with. I’m using it along with Vue.js and I’m trying to make the migration to Vue 2.

    Is anyone aware if the vue-onsenui components play well with Vue 2 ?

    It seems that the OnsNavigator component is registered with the “v-el” directive which is deprecated in the new Vue.js. I think both v-el and v-ref directives have been consolidated under a special “ref” attribute.

    As expected I have the following warning:
    “[Vue warn]: Failed to resolve directive: el”

    Is the new Vue.js going to be supported anytime soon?

    Thank you!


  • Onsen UI

    @cloudnine Hello! It’s still work in progress even for Vue 1. After fixing some urgent bug that we have in the Custom Elements polyfill right now, the next priority will be updating vue-onsenui for Vue 2 :)



  • This post is deleted!


  • This post is deleted!


  • Great to hear! I might pitch in if I get some free time. Cheers!


Log in to reply