前端开发写样式文件时,经常使用sass或scss写样式文件,浏览器识别的是css,需要有node-sass来中转解析下
node-sass安装需要python2环境,是因为node sass在编译过程中使用了叫node-gyp的工具,该工具在编译过程中需要python2环境
python2与python3在语法和库上有一些不兼容的地方,node-sass只能用python2,不能用python3
前端开发写样式文件时,经常使用sass或scss写样式文件,浏览器识别的是css,需要有node-sass来中转解析下
node-sass安装需要python2环境,是因为node sass在编译过程中使用了叫node-gyp的工具,该工具在编译过程中需要python2环境
python2与python3在语法和库上有一些不兼容的地方,node-sass只能用python2,不能用python3