Jump to content

[FREE MODULE] SASS compiler


Recommended Posts

Prestashop module to use SASS language in your front-office

 

How to use

 

To use the module you just install it and hook in the displayHeader position. 

Then go to the configuration page and you'll be presented with two windows: the editor and the viewer:

 

  • the editor is where you write your SCSS styles
  • the viewer is where the compiled CSS is shown (not editable)
 

Just hit Save and you're done!

 

Importing library

 

You can import your own SASS libraries, too! Just upload them in the scss/source folder in the module's installation folder and include them. Bourbon is included (partly) as an example.

 

External dependencies

 

modsassc uses:

 

CodeMirror as editor

SCSSPHP v0.0.12 as SASS compiler (implements SASS 3.2.12)

Bourbon v4.2.3 as example library

 

Module available on GitHub too.

modsassc.zip

post-563322-0-01696400-1433749064_thumb.png

  • Like 2

Share this post


Link to post
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More