element-plus 主题代码示例
摘要
有小伙伴需要element-plus更换主题得代码示例,在这里贴上有需要可以自己研究研究,勿喷。
-
sass变量
仓库地址: https://github.com/element-plus/element-plus-vite-starter.git
-
shell脚本生成css文件方式
被废弃了,不建议使用,这里就不再赘述了。
-
css变量
-
正则替换
仓库地址:https://github.com/wupengwupeng/vue3-vite2.0-taiwindcss-element-plus.git
主要看这个文件下面得东西