Introducing external js file into vue to report error

vue introduces the js file into index.html
reports the following error. How to solve
Uncaught SyntaxError: Unexpected token <

Jun.24,2021

code did not compile


syntax error, maybe a word or symbol is wrong


all js introduced first must be error-free, secondly, the dependency between js must also be normal, for example, jquery library


post a code to see how you write


to see if < or more

is missing. The error was reported unexpectedly


my project started with vue-cli. Finally, it is found that if you put the js file in src, you will report an error, and if you put it in static at the same level as src, you will not report an error. It is probably that webpack statically removes src


, which is generally a js syntax error. Check that you introduce js.


this error is a symbol error, whether you add more semicolons, or write less parentheses

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eadf71-46edc.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eadf71-46edc.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?