引入:

cnpm install node-sass --save-dev //安装node-sass 

cnpm install sass-loader@7.3.1 --save-dev

cnpm install style-loader --save-dev //安装style-loader     

webpack.base.conf.js中的module的rules内添加:

{
test: /\.sass$/,
use: [
'vue-style-loader',
'css-loader',
'sass-loader?indentedSyntax'
],
},

附:sass官网文档

https://www.sass.hk/docs/

最新文章

  1. 【postman】postman
  2. Tools - Get technical information from the Internet
  3. 一个URL链接到一个页面发生了什么?
  4. BZOJ1085: [SCOI2005]骑士精神 [迭代加深搜索 IDA*]
  5. anjularjs 路由
  6. 【转】php curl 伪造IP来源的实例代码
  7. PHP笔试题汇总
  8. PAT 1005
  9. platform机制
  10. JS线程模型&Web Worker
  11. leetcode Search for a Range python
  12. Mysql innodb 间隙锁
  13. CAN自收自发问题小结
  14. Matlab调用C程序
  15. pytorch--nn.Sequential学习
  16. Docekr 挂在卷之后访问目录时异常 cannot open directory '.': Permission denied 的解决办法
  17. CentOS日志列表
  18. Unity Shader 学习之旅之SurfaceShader
  19. 20165218 《网络对抗技术》Exp2 后门原理与实践
  20. git爬坑不完全指北(二):failed to push some refs to ‘XXX’的解决方案

热门文章

  1. HTTP Status 500 ? Internal Server Error
  2. nginx子配置文件实例
  3. PPT添加节
  4. 安装kafka 记录
  5. USACO4.3 Buy Low, Buy Lower【简单dp·高精度】
  6. python 并发编程目录
  7. Win10 开启 热点的简单办法
  8. google map api key配置
  9. Codeforces - 1203D2 - Remove the Substring (hard version) - 双指针
  10. 双连通分量(点-双连通分量&边-双连通分量)