Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SASS with Codeigniter

I have a big codeigniter project that has been going on / selling for a while. I want to integrate SASS into it however SASS seems mainly - not strictly - for rails. I have been reading up on it and even though there are sparks for codeigniter that will allow SASS, it does not support recent versions of it very well.

I have yet to see instructions on how to implement SASS on codeigniter. Anyone can provide some clean instructions please?

Thank you !

like image 808
ODelibalta Avatar asked Jul 02 '13 00:07

ODelibalta


1 Answers

Sass and CodeIgniter does not need to be integrated in that sense. They are separate parts of your application.

Sass is a CSS pre-processor built in Ruby, but it's output is just normal CSS. It's these CSS files that you will reference is your HTML (CodeIgniter views) and that you will deploy to your server. On your development machine you need to have Ruby installed to run the Sass compiler, but that's it.

like image 117
eldh Avatar answered Nov 14 '22 15:11

eldh