Friday, March 1, 2019

Re: django vue javascript integration

The issue here appears to be that OP's browser cannot load the .js file as specified in the resource path. I would agree with Wira about checking what the path is and ensuring that the .js file is in the correct location.

Kind regards,
Sithembewena


Sent with Shift

On Fri, Mar 1, 2019 at 11:52 PM Sam W <samcalc2@gmail.com> wrote:
Why don't you use Django REST framework ?

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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/4c236c3c-6d18-4d5f-af34-2cc2c947122f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/CAH-SnCDk1yzG4KfQ8isUg3LZzHPhW3ROaAaH4d%3D7NYPjmvwBFg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment