Settings

Theme

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

1 points by thehumblenerd · 2 comments · 1 min read


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 ?

1 thread
Finnucane

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

  • thehumblenerdOP

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

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection