4 ms·
Vue and Django (with Rest Framework) are a great combo and I've used them together to build two reasonably sized apps recently. I don't know if I'm doing it wr
by mythrwy 7y ago
Vue and Django (with Rest Framework) are a great combo and I've used them together to build two reasonably sized apps recently.
I don't know if I'm doing it wrong but I still use Gulp to compile everything. I use Django for the routing and intermix a tiny bit of dynamic server-side data (like login user or breadcrumbs) in the Django templates before they go to Vue.
Doing it like this I skip all the component complexity (I do use mixins) and can build front end with simple tools I understand. Possibly I could avoid a little repetition by using components, but the increase in abstraction I don't think would be worth it.
This is fast to develop. I've seen less complex single page apps using React or whatever take what seems like a lot more effort. But like I say, maybe I'm not doing it right. It works really well though.