3 ms·
I'm curious if someone used vue with django and how's their experience
by bedros 8y ago
I'm curious if someone used vue with django and how's their experience
- nrs26 8y agoI 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?
- rkcf 8y agoCurrently 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 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-setting-up-a-new-project-that-s-easy-to-develop-and-deploy-part-1.html https://ariera.github.io/2017/09/26/django-webpack-vue-js-se...
- pythonaut_16 8y agoDjango 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.