You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| }, this.$slots.default);
| const wrap = (
> <div
| ref="wrap"
| style={ style }
解决方法
在vue.config.js中module.exports添加
transpileDependencies: [
'element-ui/packages/scrollbar'
],