Hi, the .js file path i think is correct, if I put the file url on browser I can see the code of .js file on browser
On Friday, 1 March 2019 23:01:22 UTC+1, Lloyd Dube wrote: > > 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 > <https://tryshift.com/?utm_source=SentWithShift&utm_campaign=Sent%20with%20Shift%20Signature&utm_medium=Email%20Signature&utm_content=General%20Email%20Group>* > > On Fri, Mar 1, 2019 at 11:52 PM Sam W <[email protected] <javascript:>> > 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 [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> 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 >> >> <https://groups.google.com/d/msgid/django-users/4c236c3c-6d18-4d5f-af34-2cc2c947122f%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> 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 [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/fae8116c-5f57-4c01-9a3f-4ce886bf3df8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

