Web Essential for Visual Studio Sass compile wrong

我的梦境 提交于 2020-01-25 09:01:25

问题


I am using Visual Studio 2013 Update 4 and Web Essentials. I am coding a web site with Sass (scss) and I have problem with compile it. I have read many articles that Web Essentials doesn´t support it, but I found it works even in options.

But there is a problem, for example:

$primaryColor: #eeccff;

body {
  $primaryColor: #ccc;
  background: $primaryColor;
}

p {
  color: $primaryColor;
}

Paragraph (p) have color: #ccc, that is not correct.

Any advice?

Thanks.

EDIT: How can I upgrade the Sass compiler for Web Essentials?

来源:https://stackoverflow.com/questions/31095519/web-essential-for-visual-studio-sass-compile-wrong

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!