Re:Vuetube – Video resources that will help you to improve y...
by bedros on Monday May 28, 2018 @02:18PM
(#17173896)
I'm curious if someone used vue with django and how's their experience
[ Parent
| on HN ]
Re:Vuetube – Video resources that will help you to improve y...
by nrs26 on Monday May 28, 2018 @02:31PM
(#17173963)
I have! It works very well together. We use Django Rest Framework to set up our APIs and haven’t had any issues. Anything in particular you’re worried about that I can help answer?
Re:Vuetube – Video resources that will help you to improve y...
by rkcf on Monday May 28, 2018 @03:59PM
(#17174485)
Currently building a webapp with vue/django and I'm loving it. The project was fast and simple to setup. Even though it is my first time using a js frontend framework, I found it very easy to learn.
You can checkout the source at: https://github.com/rkcf/dailio
And here's a good article for setting a vue/django project up: https://ariera.github.io/2017/09/26/django-webpack-vue-js-se...
Re:Vuetube – Video resources that will help you to improve y...
by pythonaut_16 on Tuesday June 05, 2018 @02:09PM
(#17240409)
Django is a far bigger pain than Vue.
DRF is great for making APIs, authenticating and talking to the APIs with Vue is super easy and straight forward (I recommend using Axios and writing service files in Javascript to encapsulate the logic for actually calling the API.
The main pain point is that Django is kind of unwieldy to deploy, because you'll have your built Vue project (i.e. the dist/ folder by default), and then you'll have the collectstatic files from Django, so setting up a build process that combines all of that is a bit difficult.