Vue project ie11 reported an error. Es6 is not compatible.

clipboard.png

problem description

the environmental background of the problems and what methods you have tried

webpack.base.conf.js already has babel related configuration

entry: {
    app: ["babel-polyfill", "./src/main.js"]
  },

in accordance with the guidance of the official website of vue, the compilation of node_modules has been added

{
        test: /\.js$/,
        loader: "babel-loader",
        exclude: file => (
          /node_modules/.test(file) &&
          !/\.vue\.js/.test(file)
        )
      }

try for a long time, but it still doesn"t work. Ask God for advice!

Apr.07,2021

path change this, try it?

app: ['./node_modules/babel-polyfill/dist/polyfill.js','./src/main.js']
The

problem has been solved. Thank you


this article is very complete and will help you
vue project compatible with IE11

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