Does anyone know if it's possible to force Client Dependency to download
files rather than access them via the file system? My issue is that I am
currently auto processing .less.css files using DotLessCss and this works great
when the file is access directly. However when I use client dependency to merge
the files it seems to access it via the file system and doesn't get processed
by the handler.
Anyone experienced this issue and got a work around?
Thanks for that Lee, however thats pretty much what I followed, and it doesn't appear to work, I think I am going to stop using CD for handling my css and use dotlesscss for processing the css.
Thanks Jorge, thats the solution I am going with and using imports to combine the files, I know this isn't V5 related but it seems everything i want to do runs me into walls, I miss xslt, masterpages and v4 lol
Client Dependency and LESS
Hi,
Does anyone know if it's possible to force Client Dependency to download files rather than access them via the file system? My issue is that I am currently auto processing .less.css files using DotLessCss and this works great when the file is access directly. However when I use client dependency to merge the files it seems to access it via the file system and doesn't get processed by the handler.
Anyone experienced this issue and got a work around?
Thanks
John
Hi John,
Matt Brailsford wrote a blog post about how he got .LESS to work with the Client Dependency Framework.
http://blog.mattbrailsford.com/2010/08/12/using-dotless-and-the-client-dependency-framework-in-umbraco/
Hope it helps.
Cheers, Lee.
Thanks for that Lee, however thats pretty much what I followed, and it doesn't appear to work, I think I am going to stop using CD for handling my css and use dotlesscss for processing the css.
Hi John,
This Starter Kit http://our.umbraco.org/projects/starter-kits/ubootstrap uses CD and .less
Have a look, it might help you.
Cheers,
J
Alternatively, if you're only using .less, you could configure the web.confg to always compress the stylesheet, example;
Thanks Jorge, thats the solution I am going with and using imports to combine the files, I know this isn't V5 related but it seems everything i want to do runs me into walls, I miss xslt, masterpages and v4 lol
is working on a reply...