Live data from Hacker News

What is the best approach to integrate Django and Vue.js?

news.ycombinator.com

1–3 of 3 posts

What is the best approach to integrate Django and Vue.js?

#1
I am a rookie django developer and I wish to add Vue.js with Django, but I would love to have really loose coupling between the two. Is keeping the front end in a separate server and backend in a seperate server a good idea ?

If this is the case how can we achieve this result ?

Re: What is the best approach to integrate Django and Vue.js?

#3

My knowledge of Vue is limited, but my guess would be to use Django-rest framework, and have your Vue components get json data.

Yes. I am thinking about something in the same line. But the issue is, how do I integrate this inside django ?