Why don't you use Django REST framework ? Try this :
How to Integrate Vue.js with Django Rest Framework? https://www.techiediaries.com/django-rest-vuejs/ On Friday, March 1, 2019 at 11:36:37 AM UTC-6, Tomas Garijo wrote: > > Hello group, > > I have a huge problems to integrate a vue javascript file in one template, > only for testing, I'm searching on google but unfortuny I can't find anything. > I have a simple html file and I want to load a code that is in other file, of > course this files is a *.js file > > The best is attach some file to see the problem > > You can see in the html file, there is some comment code this is a test to > see if the javascript code works fine, and this works fine. > But when this javascript code put in other file and load from html file (I'm > not sure this will be true) the code doesn't work fine. > > > Kinds Regards > > > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/a923a79a-6362-4f1c-8abc-59c6e9b60997%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

