ElemeFE / element

A Vue.js 2.0 UI Toolkit for Web
https://element.eleme.io/
MIT License
54.1k stars 14.64k forks source link

[bug report] webpack.dllplugin after configuring element, the El table cannot be rendered, and the display is blank #19241

Open XaoZ1 opened 4 years ago

XaoZ1 commented 4 years ago

Element UI version

2.12.0

OS/Browsers version

macOS10.14.4/Chrome 81.0.4044.122

Vue version

2.5.10

Reproduction Link

https://codepen.io/XaoZ1/pen/qBOqLKL?__cf_chl_jschl_tk__=789b6dfb8c71ecb717056e0febbac3dadebbb59a-1587547439-0-Acy822QrHB5-f5jiKYI1-NcQflYx5KeOqr4ST08Bb1fMzaU7jJwZBJT3eusNMG4CFM3J8wl2ul7tmzi-eVn0T8Ad2la5QGruD8iXPWT_9K7UbgVMLAf-K7335BGhpGIfOZLScDao3kjrb5xnY8g7CFfCpm3k6aSlzrCpdmWfSnVvAff-EVK0jyqV9Q648HO82V-7cz-BtA7GlC4skKeNvReTGid7W_fvGcQaqCMEF_t0bmSFkiHWLEprIhm25VuMbNFqqJ8WATxbim3CXOxZt0doKsPdM__yDcdMnI1L0IS-crfJhWUT4awJf2E_FvP-6YHprsbJgxb53fSD6MRDXps

Steps to reproduce

webpack.dll.conf.js下 entry-vendor 配置element-ui. dll构建vendor后所有el-table无法渲染

What is Expected?

webpack.DllPlugin配置后能正常渲染el-table

What is actually happening?

webpack.DllPlugin配置后el-table无法渲染

element-bot commented 4 years ago

Translation of this issue:

Element UI version

2.12.0

OS/Browsers version

macOS10.14.4/Chrome 81.0.4044.122

Vue version

2.5.10

Reproduction Link

https://codepen.io/XaoZ1/pen/qBOqLKL?__cf_chl_jschl_tk__=789b6dfb8c71ecb717056e0febbac3dadebbb59a-1587547439-0-Acy822QrHB5-f5jiKYI1-NcQflYx5KeOqr4ST08Bb1fMzaU7jJwZBJT3eusNMG4CFM3J8wl2ul7tmzi-eVn0T8Ad2la5QGruD8iXPWT_9K7UbgVMLAf-K7335BGhpGIfOZLScDao3kjrb5xnY8g7CFfCpm3k6aSlzrCpdmWfSnVvAff-EVK0jyqV9Q648HO82V-7cz-BtA7GlC4skKeNvReTGid7W_fvGcQaqCMEF_t0bm SFkiHWLEprIhm25VuMbNFqqJ8WATxbim3CXOxZt0doKsPdM__yDcdMnI1L0IS-crfJhWUT4awJf2E_FvP-6YHprsbJgxb53fSD6MRDXps

Steps to reproduce

Under webpack.dll.conf.js, enter vendor is configured with element UI. DLL. After building vendor, all EL tables cannot be rendered

What is Expected?

After configuration of webpack.dllplugin, El table can be rendered normally

What is actually happening?

El table cannot render after webpack.dllplugin is configured

rookie-hhm commented 3 years ago

我也遇到了这个问题,有解决么

MrTurnRight commented 3 years ago

有没有人处理下啊,,dll打包之后,el-table里面body的data就变成0了,

加了alias 都不行

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.