Skip to content

Instantly share code, notes, and snippets.

@movii
Last active December 7, 2018 02:39
Show Gist options
  • Select an option

  • Save movii/227fd20301cce0bb218bab1603e37251 to your computer and use it in GitHub Desktop.

Select an option

Save movii/227fd20301cce0bb218bab1603e37251 to your computer and use it in GitHub Desktop.
笔记:配合 Vue.js 配置 Webpack(二)CSS 部分
{
test: /\.scss$/,
- use: ['style-loader', 'css-loader', 'sass-loader']
+ use: [
+ 'style-loader',
+ 'css-loader',
+ {
+ loader: 'sass-loader',
+ options: {
+ includePaths: ['node_modules']
+ }
+ }
+ ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment