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

1 points by thehumblenerd ↗ HN
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 ?

2 comments

[ 0.22 ms ] story [ 19.6 ms ] thread
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 ?