报错:Uncaught SyntaxError: Unexpected token <

The following errors occasionally occur in the project

According to the console prompt, click to enter the file and find that <!DOCTYPE html> reports an error, which is very confusing. In fact, this is a problem with the introduction of the script file. You can check the path of the script file you imported and modify it.

 

Guess you like

Origin blog.csdn.net/miao_yf/article/details/102394812