I am doing SPA with vuejs and django backend, its a huge step in the right direction as far as (my) web development goes. Initially I was sceptical of webpack, now I see what an asset it is in compiling static content and many other handy features. I prefer vuejs to react or angular but I haven't really given them much time, maybe one day
This is a debate that can be done to death (which is good, that's how these frameworks improve), but as someone that's used backbone/marionette, angular, and react react/redux, I can say the day I found the Vue docs was like a reawakening. I don't mean to get poetic, but I genuinely had a sense of "holy shit, this is what docs should look like!" I only got more and more excited as I read through and learned more about it.
Vue is fucking awesome. I'm just now learning it and I can't wait to build something more serious than a todo app with it.
I have. I once worked at a shop that tried to rebuild all of its web sites as SPA's with Vue. Four devs, two with deep JS experience, and it was a complete disaster. Vue isn't ready for enterprise, and the documentation is a joke.
I don't work there anymore, but looking at the sites now, I can see the old ones are still online — TEN months later, no sign of Vue.
Why don't you like the docs? I love how it has a great introduction guide[1] that really dives deep into the hows and whys, but also has a full API guide when you just gotta know one specific thing [2].
Can you point out some good resources that you used to integrate Django with vue? I have a full stack Django website and have often thought about using some js library and speeding things up on the front end (and reduce bandwith usage) but my (admittedly lazy) experiment with react/angular haven't gone anywhere much.
Any tips on how to start with the integration? Do you use node to serve the front end or is it served by django?
Comments
I am doing SPA with vuejs and django backend, its a huge step in the right direction as far as (my) web development goes. Initially I was sceptical of webpack, now I see what an asset it is in compiling static content and many other handy features. I prefer vuejs to react or angular but I haven't really given them much time, maybe one day
This is a debate that can be done to death (which is good, that's how these frameworks improve), but as someone that's used backbone/marionette, angular, and react react/redux, I can say the day I found the Vue docs was like a reawakening. I don't mean to get poetic, but I genuinely had a sense of "holy shit, this is what docs should look like!" I only got more and more excited as I read through and learned more about it.
Vue is fucking awesome. I'm just now learning it and I can't wait to build something more serious than a todo app with it.
I haven't yet met a developer that doesn't like vue
I have. I once worked at a shop that tried to rebuild all of its web sites as SPA's with Vue. Four devs, two with deep JS experience, and it was a complete disaster. Vue isn't ready for enterprise, and the documentation is a joke.
I don't work there anymore, but looking at the sites now, I can see the old ones are still online — TEN months later, no sign of Vue.
Woah, so looks like we disagree completely.
Why don't you like the docs? I love how it has a great introduction guide[1] that really dives deep into the hows and whys, but also has a full API guide when you just gotta know one specific thing [2].
[1](https://vuejs.org)
[2](https://vuejs.org/v2/api/)
I've managed projects that use Vue in Enterprise.
It's solid and works much better than React or Angular.
- Better documentation. - Better ecosystem. - Better community. - Multilanguage (Chinese / English / Russian) - Proper scoping of concerns.
It really hits all the marks.
Can you point out some good resources that you used to integrate Django with vue? I have a full stack Django website and have often thought about using some js library and speeding things up on the front end (and reduce bandwith usage) but my (admittedly lazy) experiment with react/angular haven't gone anywhere much.
Any tips on how to start with the integration? Do you use node to serve the front end or is it served by django?
I am using nap on the django side (json/mapping) http://django-nap.readthedocs.io/en/latest/index.html and axios https://github.com/mzabriskie/axios on the vuejs side (http) There are many other options and configurations. I settled on a modular architecture because I like to worry about one thing at a time :) You can also look at vue-resource (and others) and DRF https://www.django-rest-framework.org/ I am still learning vue as I go along but it is so well designed its a pleasure to learn as well
I'm building a large web app using vuejs(2). No complaints here.