vux 修改tabbar中激活状态中的文字颜色

  • 新建 /src/style/vux_theme.less
@tabbar-text-active-color:#6674e7;
  • 在 vue.config.js 中配置
module.exports = {
  configureWebpack: config => {
    vuxLoader.merge(config, {
      plugins: ['vux-ui', 'duplicate-style',{name: 'less-theme', path: 'src/style/vux_theme.less'}]
    })
  }
}
  • 重新启动项目即可看到效果

你可能感兴趣的:(vux 修改tabbar中激活状态中的文字颜色)