1

I know this probably isn't best place to ask this question but I am desperate. I made most of stuff I needed in Django, and now I need to figure out Vue. The problem I have is that I can't find any tutorial on how to pass data from Django to Vue. I was planning on using Vuetify, but I am open to suggestions. I am also new to Vue, so I don't understand it yet, can you refer me to some tutorial that will help me?

Thank you

4
  • I'm not familiar with Vue.js but I'd say that it really depends how much you want to use it. If it is only to improve few pages already rendered by Django, it should be easy. On the other hand, if you want to fully handle your frontend with it, this means you need to create an API on the backend (for example with Django Rest Framework) Commented Mar 9, 2019 at 23:24
  • Yea, I need to create an API, but I dont know how, and how to use it in Vue then. Commented Mar 10, 2019 at 2:11
  • Then you probably just need a Vue tutorial :) Commented Mar 10, 2019 at 4:02
  • Thank you all for your help, you have guided me in direction I needed. Commented Mar 10, 2019 at 20:02

2 Answers 2

1

Vue is a frontend framework for bulding user interfaces. Django is a backend framework, so you need a way to get them to communicate together. This way can be REST.

So you have to study: Django, Django Rest Framework, vue.js and some tutorials for put things together. Maybe looking for: vue django rest, on google can help (example).

Sign up to request clarification or add additional context in comments.

Comments

1

With a simple Google search you can find lots of tutorials on how to build a Django API.

Did you have a look at Django REST Framework?

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.