> On Jun 29, 2015, at 6:57 AM, ToniRezende-SP <[email protected]> 
> wrote:
> 
> Estou usando o BootStrap e com sua instalação veio o Bower_component com 
> vários arquivos em less.
> Minha dúvida:
> 1 - editando os arquivo Less no bower, ele compila o  css ou tenho de fazer 
> manual.
> 2 - posso aplicar direto o código less nas páginas?
> 

Two things -- this list is an English language list, but let me see if I can 
help.

It sounds like you're asking about bootstrap, which comes with a 
bower_component folder, and whether you have to compile that less if you modify 
it, and can less be directly applied to an HTML page?

So first -- the fact that bower is involved doesn't seem relevant. It's another 
package manager, mostly just downloads web components and puts them in the 
bower_components folder if you run "bower install".

There are less files in the bootstrap distribution -- that's its native form, 
how it's written. However, browsers can't understand that without one of two 
things.

Either the less has to be compiled to css with lessc, then the browser uses 
that, or you load the less in the browser and you run the less compiler as 
included javascript. That's better for development, since it will affect the 
load time significantly.

If you edit the CSS properties in the browser, there's no support for updating 
the less file from that. You have to copy any modifications into the source.

So, TL;DR: compile your less with lessc, it's a manual process.

Aria

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/00930A3C-A57A-40F8-BB95-0177F9A74EE1%40dinhe.net.
For more options, visit https://groups.google.com/d/optout.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to