Reputation: 969
I am very inexperienced with these new web technologies. I had a hard time with AngularJS specifically getting it to render on mobiles. I would like to use Vue.js with some of the jQuery mobile elements. Is it possible to mix these frameworks?
Upvotes: 1
Views: 2229
Reputation: 24265
I would not recommend it for the following reasons:
Vue.js uses its Reactivity system to manage its input bindings. jQuery mobile also modifies the UI elements for look-and-feel. If you make any change on jQuery elements (for your form elements like select drop-down, radio buttons, etc.), those changes may not be reflected within Vue component.
Vue.js is a well built micro framework, which produces gzipped app size of under 100kb that is well suited in mobile environments. If you mix jQuery mobile, it will push the size of your app, its memory footprint, and lead to a worse user experience in low-end phones.
Unless you have a strong reason to use jQuery mobile (like if you need touch interactions like drag, etc.), I would not recommend it.
Upvotes: 3
Reputation: 1
Now this is partly true. jQuery Mobile UI widgets were ported to Vuejs 2 by me, the project is here: https://github.com/mindaugasvcs/jqm-ui.vue
Upvotes: 0
Reputation: 7448
Note: jQuery mobile is not compatible with VUE router - it causes unexpected redirection. E.g. your SPA is located at http://localhost/test/ and VUE router + jQuery mobile causes redirection to http://localhost/
Upvotes: 0
Reputation: 111
I don't know if you just want to find mobile ui support vuejs, there is a ui list :
And if you do not get what you like , you would like to see this.
Upvotes: 1