vform666 / variant-form3-vite

Other
1.32k stars 264 forks source link

vForm style is not reflected. #23

Open logue opened 1 year ago

logue commented 1 year ago

I'm trying to load it into an Element Plus project, but when I tried to call this component on an appropriate View page, the stylesheet didn't hit.

The part that depends on Element Plus seems to work fine, but the part that depends on vForm is not styled correctly.

image

Reproduction: https://stackblitz.com/edit/vitejs-vite-6ykf8a?file=src%2Fplugins%2Fv-form.ts

vform666 commented 1 year ago

You need reset the overwritten styles.

logue commented 1 year ago

Doesn't vForm support overriding Element Plus's stylesheet font settings?

https://element-plus.org/en-US/guide/theming.html#how-to-override-it