vue-cil scss/sass/style/css配置
step1: 安装依赖包;
step2: 配置webpack.config.js文件
loaders: {
// Since sass-loader (weirdly) has SCSS as its default parse mode, we map
// the "scss" and "sass" values for the lang attribute to the right configs here.
// other preprocessors should work out of the box, no loader config like this necessary.
'scss': 'vue-style-loader!css-loader!sass-loader',
'sass': 'vue-style-loader!css-loader!sass-loader?indentedSyntax',
'style': 'vue-style-loader!css-loader!sass-loader',
'css':'vue-style-loader!css-loader!sass-loader'
}

浙公网安备 33010602011771号