赞
踩
需求:
在使用vue+elementUI开发后台管理项目时,需要修改默认颜色,步骤如下。
步骤:
cd 你的项目文件夹名称
cnpm i element-theme -g
npm i element-theme-chalk -D
et -i
element-variables.scss
文件et
theme
文件夹import '../theme/index.css'
"element-ui/lib/theme-chalk/index.css"
文件后面,或者把原文件注释掉。赞
踩
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。