1.0.9 • Published 9 months ago
yj_components_box v1.0.9
pch5
Project setup
yarn install
Compiles and hot-reloads for development
yarn serve
Compiles and minifies for production
yarn build
Lints and fixes files
yarn lint
Customize configuration
[
"component",
{
"libraryName": "element-ui",
"styleLibraryName": "theme-chalk"
}
]
自定义主题色
下载配置对应的主题色引入,
下载路径
https://element.eleme.cn/#/zh-CN/theme
theme_red 对应 element-variables_red.scss
打包配置
GlobalPelsTheme 配置主题色,读取主题全局变量
GlobalPelsTheme:"red",
配置入文件, build.config.js