asual / lesscss-servlet

LESS Servlet - Runtime handling and optimization of less.js resources
http://www.asual.com/lesscss
Apache License 2.0
57 stars 15 forks source link

Clarify LESS servlet documentation #25

Closed denizdogan closed 6 years ago

denizdogan commented 9 years ago

This seems like an awesome servlet, but I'm still having trouble understanding exactly how to configure it. It might be something else I've done wrong, but it would definitely help if the documentation clarifies a few things.

If I map the servlet to .css, will it automagically compile and serve the corresponding .less file? Or do I need to map .less for that?

Is the servlet required to be loaded before any other servlets, i.e. load-on-startup = 1?

And, although of less importance to me personally, maybe document all of the init parameters and their default values?

tveimo commented 9 years ago

You need to map it to .less. The url you use in your jsp file will also be .less, and that's what the browser will load.

tveimo commented 9 years ago

load-on-startup is not required