Bootstrap 4是否支持LESS? [英] Bootstrap 4 supports LESS?

查看:136
本文介绍了Bootstrap 4是否支持LESS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如今,引导程序团队宣布了版本4 Alpha,该版本本身使用SASS作为CSS预处理程序.这是否意味着它没有任何LESS支持?!

As nowadays bootstrap team announced the version 4 alpha which natively uses SASS as CSS preprocessor. Is this mean it hasn't any LESS support?!

推荐答案

您必须记住,Bootstrap 4处于Alpha阶段.目前,它不支持LESS,因为Bootstrap的 Bootstrap 4 Alpha上的博客条目声明:

You have to remember that Bootstrap 4 is in its Alpha phase. Currently it does not support LESS, as Bootstrap's blog entry on Bootstrap 4 Alpha states:

从更少迁移到Sass.现在,借助Libsass,Bootstrap的编译速度比以往更快,并且我们加入了一个越来越庞大的Sass开发人员社区.

Moved from Less to Sass. Bootstrap now compiles faster than ever thanks to Libsass, and we join an increasingly large community of Sass developers.

但是,版本4的入门页面" 仍然没有提及(尽管我认为这是对复制/粘贴的疏忽):

However, version 4's Getting Started page does still give LESS a mention (although I imagine this is a copy/paste oversight):

npm

Bootstrap的package.json在以下按键下包含一些其他元数据:

npm

Bootstrap’s package.json contains some additional metadata under the following keys:

  • less-Bootstrap的主要Less源文件的路径

  • less - path to Bootstrap’s main Less source file

style-使用默认设置(无自定义功能)预编译的Bootstrap非缩小CSS的路径

style - path to Bootstrap’s non-minified CSS that’s been precompiled using the default settings (no customization)

如果没有某种形式的官方 yay nay ,将来是否会支持LESS尚无法确定,但是目前看来还没有任何计划参与其中.

Whether it will support LESS in the future cannot be really determined without some form of official yay or nay, but currently it doesn't look like there are any plans involving it.

这篇关于Bootstrap 4是否支持LESS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆