The error of ios reporting SyntaxError:Unexpected token 'const' after the vue project is launched, resulting in a blank screen?

vue-cli with webpack project, the development environment is normal, Android can run after launch, but after testing in the phone below ios11, the screen is white. I tested it with safari browser and the error message is SyntaxError:Unexpected token "const". Find a solution, thank you!

Mar.03,2021

I also met, did the landlord solve it?


use babel to convert it to es5


the same question, have you solved, brother


how to configure brother thank you

Menu