the plug-in vuex-persist is used in the development to store the data in vuex to localStorage.
suddenly found that this plug-in will report an error in IE.
script 1002 this error.
google said for a moment that the problem was caused by the failure to convert the ES6 syntax.
after reading the documentation of nuxt, you can expand the configuration of webpack, but the project has already been built by Babel
what can I do to make the code in this plug-in successful Babel
how to configure this item.
build: {
/*
** You can extend webpack config here
*/
extend(config, ctx) {
}
}
report an error as shown in figure