vue3.0报错:
error in ./node_modules/@vueuse/core/index.mjs
Can’t import the named export ‘bypassFilter’ from non EcmaScript module (only default export is available)
解决办法:(小声BB:我真服了,翻墙去查的,终于解决了)
在vue.config.js里面配置如下:
configureWebpack: {
module:{
rules:[{
test:/\.mjs$/,
include: /node_modules/,
type: "javascript/auto"
}]
},
}