问题
I use Visual Studio 2013 with Web Essentials extension for all my Sass/Scss work. Its great.
I came across a tutorial on a grid framework that I really want to use called Susy. However the tutorials I seen on it are all using it on Linux or mac and in some sort of a ruby based environment.
Even on the site link, I don't see instructions on getting it to work in VS2013. I tried extension manager and nuget package manager but to no avail.
My only option seems to be to download the source and try to compile it by combining all the Scss files and hoping I do it in the right order. But something tells me I am getting a bit over complicated and there is a simpler way.
There are many ruby/Linux based libraries like this and I really would like to know how to bring this into VS2013 and later I can do it for any of the libraries I want.
I am sure that people making the tutorials for such libraries (and the libraries themselves) are not excluding VS2013 purposefully (if at all). I just don't know how to get them into VS2013.
Any help would be appreciated. Thanks in advance.
回答1:
You can use Susy anywhere you use Sass. Rather than using a gem bundle, or any of the other linux-based approaches, copy and paste the entire Susy sass directory into your own sass directory, then import it into your stylesheets. You can treat all of Susy like any other sass partial.
来源:https://stackoverflow.com/questions/25404053/include-a-grid-framework-in-visual-studio-that-seems-to-be-linux-only