Menu icon Foundation
Convert project originally compass to libsass

Hey, I have a few different projects originally installed using compass ( using the command 'foundation new project-name' ) but would like to convert the project to use libsass instead.

Does anyone know how i would go about doing this?

Thanks in advance,
Chris

FoundationcompasslibsassConvert

Hey, I have a few different projects originally installed using compass ( using the command 'foundation new project-name' ) but would like to convert the project to use libsass instead.

Does anyone know how i would go about doing this?

Thanks in advance,
Chris

Michael LaRoy over 4 years ago

To add to Rafi's suggestion, read this:

http://stackoverflow.com/questions/20292471/how-do-i-import-compass-css3-module-into-a-foundation-5-project

In case you were using Compass mixins, you will need to add to the Foundation bower.json file that is created when you created the project with the CLI. Follow the instructions here, and you can have Compass right inside your project.

Rafi Benkual almost 5 years ago

The file structure is essentially the same. You can create a new Libsass project, then move your styles and htlm over manually. Libsass does not require Ruby so you dont need the gemfile or and .rb files. You will need to add a gruntfile. I made a quick Notable annotation to point out the difference https://www.notableapp.com/posts/41d5dd009b7823cca41abaa8effd4fbd801aa09f