You compile LESS down to css files, you don't serve it up to the browser.

I like cfstatic for asset management. It can also compile LESS on the fly.

Steve 'Cutter' Blades
Adobe Community Professional
Adobe Certified Expert
Advanced Macromedia ColdFusion MX 7 Developer
____________
http://cutterscrossing.com


Co-Author "Learning Ext JS 3.2" Packt Publishing 2010
https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book

"The best way to predict the future is to help create it"

On 9/7/2013 1:53 PM, Rick Faircloth wrote:
> Nevermind... I figured out I need to set a mime type for .less
> and then set that type to text/css.
>
> In other words:
>
> Extention: less
> Mime Type: text/css
>
> Rick
>
> -----Original Message-----
> From: Rick Faircloth [mailto:r...@whitestonemedia.com]
> Sent: Saturday, September 07, 2013 2:39 PM
> To: cf-talk
> Subject: Best way to use LESS CSS with CF?
>
>
> Hi, all...
>
> Anyone using LESS with their CSS?
>
> I'm trying to get a handle on using LESS with my CSS,
> but I'm not quite getting it to work.
>
> I'm including the styles.less and the less.js files,
> but I'm missing something, because the variables don't
> affect the output.
>
> Do I need some kind of compiler for this to work with CF?
>
> Thanks for the guidance!
>
> Rick
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356730
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to