jquery 中的 Compilador Less CSS
Less css 的脚本非常好。但是我想减少 html 中的处理量。由于我在同一个 html 中有 Jquery,因此您可以生成所有 CSS。从文件较少。
我正在寻找一种在 Jquery 中渲染更少文件的方法。有什么方法可以在 JQuery 中爬取 LESS 的 scriptlet 吗?
The script of Less css is very good. However I would like to reduce the amount of amount of procesesos in html. Since I have the Jquery in the same html, you can generate all CSS. from files less.
I'm looking for a way to render files less in Jquery. Ahy some way to climb the scriptlet of LESS in JQuery?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
less
Compilers for less
JQuery 可能只会减慢渲染过程,因为它必须为 jQuery 完全重写。
如果您想要更快的速度,我建议您找到一个较少的编译器,例如 Less.app 是对于 Mac OS X。这也将使您的网站在没有 JavaScript 的情况下仍然可以运行。
如果您知道的话,请在评论中列出 Less.app 的替代品。
JQuery will likely only slow less rendering process as it would have to be completely rewritten for jQuery.
If you want more speed I would recommend finding a less compiler like Less.app is for Mac OS X. This will also make your website still function without javascript.
Please list alternatives to Less.app in comments if you know of any.