wecss-loader
v1.0.0
Published
mcss loader for webpack
Downloads
17
Readme
mcss-loader
mcss loader for webpack
Installation
npm install mcss-loader --save-dev
Usage
webpack config
module.exports = {
module: {
loaders: [{
test: /\.mcss$/,
loader: 'style-loader!css-loader!mcss-loader'
}]
}
};
if you use vue-loader:
module.exports = {
module: {
loaders: [{
test: /\.vue$/,
loader: 'vue'
}]
},
vue: {
loaders: {
mcss: 'vue-style-loader!css-loader!mcss-loader'
}
}
};
Note: if you are using webpack2, please see http://vue-loader.vuejs.org/en/configurations/advanced.html
More demos in demo