Hi Sam,

Thanks for your input. I'll take your suggestion and compile LESS first and 
then upload onto server instead of using less.js

But when I am compiling all LESS files locally, i am getting compilation error. 
Am i making any mistake? or Do i have to compile selected files only?

Cheers,
Anand


-- 
Anand Anjaria
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)


On Friday, February 10, 2012 at 9:12 AM, Sam Sherlock wrote:

> Clientside less.js is for testing purposes (I would'nt use it in production 
> as it requires uses to enable js to get styled pages)
> 
> less.js takes the less source and creates a style element with the css within 
> (nodejs puts this output to a file)
> you could use firebug (other such inspector) and copy the output of style tag 
> and put that in a file
> 
> if you use the less.js clientside I had troubles getting it to work and read 
> a comment in issues
> stating that 1.1.6 version of less.js worked with bootstrap - I was unable to 
> prcess bootstrap.less with the versions 
> I used but could process a test file (i did not pin down why and it may be 
> something I missed)
> 
> also I saw this mentioned yesterday (its available for every platform) and it 
> looks cool
> http://wearekiss.com/simpless
> 
> and also lessphp is a option too the current master works fine with bootstrap 
> (it has for a while)
> 
>  - S
> 
> 
> 
> 
> On 9 February 2012 23:16, Anand Anjaria <[email protected] 
> (mailto:[email protected])> wrote:
> > Hi, 
> > 
> > I am totally a newbie and want to use LESS on my website.
> > 
> > I understand from the website I have to include bootstrap.less first and 
> > then less.js in HEAD section. 
> > 
> > But do I have to include other less files as well along with bootstrap.less 
> > in the head section (for eg. variables.less)?
> > 
> > or i have to save other less files also in the same folder so that when 
> > bootstrap.less is getting compiled, it'll refer other dependent less files? 
> > 
> > -- 
> > Anand Anjaria
> > Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
> > 
> 

Reply via email to