Beginning of SASS & SCSS

Installation:

Step 1: Go to this site and download Ruby Installer http://rubyinstaller.org/downloads/

Step 2 : Open Terminal and execute these two line

gem install sass

gem install scss

PHPStorm Intergration:

Step 1: Go to File Watcher and create a Watcher

Program : {RubyInstallFolder}/bin/scss.bat for .scss and {RubyInstallFolder}/bin/sass.bat

Working Directory : The directory of the scss will ouput ($FileDir$ for example)

Output paths to refresh: The name of the output file ($FileNameWithoutExtension$.css for example)

Step 2: Create a .scss file an enjoy learning.

For Server Automatically Compile:

http://sass-lang.com/documentation/file.SASS_REFERENCE.html

 

Revisions

No comments yet.

Leave a Reply