Thanx for the awesome article
Could you tell me why I shouldn't import whole element ui styles, as they suggest all users?
Just want to understand the reason. Thank you again
Simply for modularization. Why ship unused CSS code to your users? The element project went to the trouble of modularizing their source CSS files so I like the idea of trimming my builds down as small as possible. One thing to note is that since we use things that aren't part of the "dist" folder there's no guarantee it will stay in the same place in future versions.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanx for the awesome article
Could you tell me why I shouldn't import whole element ui styles, as they suggest all users?
Just want to understand the reason. Thank you again
Simply for modularization. Why ship unused CSS code to your users? The element project went to the trouble of modularizing their source CSS files so I like the idea of trimming my builds down as small as possible. One thing to note is that since we use things that aren't part of the "dist" folder there's no guarantee it will stay in the same place in future versions.