- 将vux/src/thene.less文件粘贴到项目源码文件中
- 在webpack中添加插件配置 =>build/webpack.base.conf.js
module.exports = vuxLoader.merge(webpackConfig, {
plugins: [
{name: 'vux-ui'},
{name: 'progress-b ar'} ,
{name: 'duplicate-style'},
{name: 'less- theme',path: 'src/theme.less'}
]
})
- 修改theme.less中的颜色配置
ps:可配置项列表
网友评论