0.0.1 • Published 7 years ago
less-mixin-loader v0.0.1
less-mixin-loader
For auto-import
mixin.less
in a less file
作者: Peter-WF
描述: vue mixin.less 自动引入
调用方式
module.exports = {
...,
module: {
rules: [
{
test: /\.(less|vue)$/,
loader: 'vue-mixin-loader',
enforce: 'pre',
options: {
mixinPath: path.join(commonConfig.resourcePath, "./global/css/mixin/mixin.less")
}
}
]
}
}
0.0.1
7 years ago