Re: Django Uncaught SyntaxError: Unexpected token

2018-11-10 Thread Han Joe
在 2018年11月10日星期六 UTC+8下午9:56:22,Han Joe写道: > > I want to use the django with vue, but there is an error"Uncaught > SyntaxError: Unexpected token <" > So I make a test. I make a index.html and a test.js.This is my directory > > [image: 1.png] > > The i

答复: Django Uncaught SyntaxError: Unexpected token

2018-11-10 Thread Han Joe
The code just is alert(111); Thank you! 发送自 Windows 10 版邮件应用 发件人: Jason 发送时间: 2018年11月10日 22:15 收件人: Django users 主题: Re: Django Uncaught SyntaxError: Unexpected token < the error is in your javascript, not html. -- You received this message because you are subscribed to the Google Groups "D

答复: Django Uncaught SyntaxError: Unexpected token

2018-11-10 Thread Han Joe
The code just is alert(111); Thank you! 发送自 Windows 10 版邮件应用 发件人: Vishvajit Pathak 发送时间: 2018年11月11日 3:39 收件人: Django users 主题: Re: Django Uncaught SyntaxError: Unexpected token < Please share js file On Saturday, 10 November 2018 19:26:22 UTC+5:30, Han Joe wrote: I  want to use the dja

答复: Django Uncaught SyntaxError: Unexpected token

2018-11-10 Thread Han Joe
The code just is alert(111); Thank you! 发送自 Windows 10 版邮件应用 发件人: Vishvajit Pathak 发送时间: 2018年11月11日 3:39 收件人: Django users 主题: Re: Django Uncaught SyntaxError: Unexpected token < Please share js file On Saturday, 10 November 2018 19:26:22 UTC+5:30, Han Joe wrote: I  want to use the dja

Django Uncaught SyntaxError: Unexpected token

2018-11-10 Thread Han Joe
I want to use the django with vue, but there is an error"Uncaught SyntaxError: Unexpected token <" So I make a test. I make a index.html and a test.js.This is my directory [image: 1.png] The index.html and test.js are very simple. [image: 2.png] This is my code in settings.py TEMPLATES = [