unplugin-vue-components icon indicating copy to clipboard operation
unplugin-vue-components copied to clipboard

ElementPlusResolver SSR build not work

Open Adam-512 opened this issue 4 years ago • 3 comments

Description: When using element-plus drawer component, it's worked fine in development mode with ssr config false. And in production build for ssr, it's need config

ElementPlusResolver({
    ssr:true
})

So that can use commonjs require.

But i found that this component display abnormal. I guess it's maybe the Element resolver not import Drawers dependencies---ElementOverLay and ElementDialog

image

Please give me help,thanks.

Adam-512 avatar Oct 30 '21 12:10 Adam-512

Seems some style is setting transparent the overlay container, open dev tools and check it.

userquin avatar Oct 30 '21 14:10 userquin

/cc @YunYouJun

sxzz avatar Dec 04 '21 14:12 sxzz

Got the same error with the most current versions of Vite, Element Plus and the resolver.

PascalAOMS avatar Feb 08 '22 14:02 PascalAOMS