最近在用ElementUI(下面简称ele) 的时候尝试将ele打包进公共的Dll库里面,但是失败了。
然后用webpack试着将ele单独打包:
import ELement from 'element-ui'
export default ELement
结果打包出来的js文件直接在开发文件里import的话浏览器会报vue plugin.apply is not a function
请问下像ele官网那样将组件们单独包成一个js,是怎么做到的,谢谢!

Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
学习是最好的投资!