Tag Archives: #Actual combat of vue3 project

[Solved] error Strings must use singlequote, error Extra semicolon、error Unexpected trailing comma

After formatting the code, single quotation marks will be changed into double quotation marks, and a comma will be added at the end. The semicolon at the end will lead to three kinds of errors:

1 Strings must use singlequote Quotes – double quotes
2 Extra semicolon semi — semicolon at the end
3 Error unexpected trailing comma comma Dangle — comma

Solution: