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

9vw9lbht  于 4个月前  发布在  Webpack
关注(0)|答案(4)|浏览(103)

Element UI version

2.12.0

OS/Browsers version

macOS10.14.4/Chrome 81.0.4044.122

Vue version

2.5.10

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无法渲染

mdfafbf1

mdfafbf11#

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

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

lx0bsm1f

lx0bsm1f2#

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

myss37ts

myss37ts3#

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

加了alias 都不行

krugob8w

krugob8w4#

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.

相关问题