Re: django vue javascript integration

2019-03-04 Thread Tomas Garijo
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 woul

Re: django vue javascript integration

2019-03-01 Thread Sithembewena L. Dube
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

Re: django vue javascript integration

2019-03-01 Thread Sam W
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 f

Re: django vue javascript integration

2019-03-01 Thread Sam W
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

Re: django vue javascript integration

2019-03-01 Thread Wira Bhakti
Maybe you must put your JavaScript file on your static directory... On Sat, 2 Mar 2019 00:36 Tomas Garijo 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

django vue javascript integration

2019-03-01 Thread Tomas Garijo
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 att