Can't resolve 'sass-loader' in...错误的解决办法

下面是官方Sass Loader的引入方法Sass Loade官方仓库:

npm install sass-loader node-sass webpack --save-dev

npm install style-loader css-loader --save-dev

在web pack.base.conf.js 里面加
{
test: /.scss$/,
loaders: ["style", "css", "sass"]
},

你可能感兴趣的:(Can't resolve 'sass-loader' in...错误的解决办法)