Vue CLI V3.x browsers are compatible

Vue CLI reported an error in Sogou and IE11 browsers

error message is:

Uncaught SyntaxError: Unexpected token.

is this a babel configuration problem? The default babel.config.js configuration file content is

module.exports = {
  presets: [
    "@vue/app"
  ]
}

how can I solve this problem? babel.config.js how to configure it?

Oct.23,2021

clipboard.png

clipboard.png


  • is mainly caused by ES6 turning ES5 , the new version under node_modules webpack-dev-server/client is not compatible
  • solution: add

    to vue.config.js
      

    Hello. I'd like to ask you how this problem was finally solved

    .
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-1c4014d-3c862.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-1c4014d-3c862.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?