We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在 webpack.base.conf.js中的代码: module.exports = vuxLoader,merge(webpackConfig, { plugins: [ { name: 'less-theme', path: 'src/common/css/theme.less' } ] })
module.exports = vuxLoader,merge(webpackConfig, {
plugins: [
{
name: 'less-theme',
path: 'src/common/css/theme.less'
}
]
})
theme.less 代码: @theme-color: #FE883A; @datatime-header-item-confirm-font-color: #FE883A;
@theme-color: #FE883A;
@datatime-header-item-confirm-font-color: #FE883A;
这样配置作为组件使用的时候 字的颜色确实改变了, 但是作为插件使用的时候字还是绿色的
The text was updated successfully, but these errors were encountered:
[fix] fix less variables do not work in plugin usage (#2152)
6278a82
No branches or pull requests
在 webpack.base.conf.js中的代码:
module.exports = vuxLoader,merge(webpackConfig, {
plugins: [
{
name: 'less-theme',
path: 'src/common/css/theme.less'
}
]
})
theme.less 代码:
@theme-color: #FE883A;
@datatime-header-item-confirm-font-color: #FE883A;
这样配置作为组件使用的时候 字的颜色确实改变了, 但是作为插件使用的时候字还是绿色的
The text was updated successfully, but these errors were encountered: