@zhangweiyuan/v2_elm
v1.1.1
Published
v2_elm components ui
Downloads
15
Readme
主题色修改
https://elementui.github.io/theme-chalk-preview/#/zh-CN
babel.config.js
module.exports = {
presets: ["@vue/cli-plugin-babel/preset"],
plugins: [
[
"import",
{
"libraryName": "@zhangweiyuan/v2_elm",
// "libraryDirectory": "lib",
// "customStyleName ": "theme-chalk",
"style": (name) => {
return `theme-chalk/${name}.css`;
}
}
]
]
};
vue 版本大于2.7.10
element全局配置
window._elm = { size: 'small' }