Bootstrap 编译是什么意思?

What does it mean Bootstrap is compiled?

我正在学习网络技术和编程语言。开始学习框架和其他东西。查看 Bootstrap 前端框架。关于这件事我不了解的一些细节。

官网说可以下载Bootstrap的编译源码。不懂,前端开发怎么会是"source"和"compiled",不就是浏览器解释的脚本吗?

来自Extending Bootstrap

Bootstrap is made with LESS at its core, a dynamic stylesheet language created by our good friend, Alexis Sellier. It makes developing systems-based CSS faster, easier, and more fun.

Since our CSS is written with Less and utilizes variables and mixins, it needs to be compiled for final production implementation. Here's how.

Bootstrap 是用 LESS 编写的,这是一种将 "processed" 变成 CSS 的语言。通常使用 "compilation" 一词来指代此处理,因为编译通常是将一种语言翻译成另一种语言的行为。

Bootstrap uses LESS 个文件生成 CSS 个文件。预编译版本包含 LESS 的输出。如果你想修改 Bootstrap 你需要源代码然后将 LESS 文件编译成 CSS.

术语编译是 LESS 在其网站上使用的词。

http://lesscss.org/

页面加载时不是都在浏览器中编译了吗?我猜这意味着它在发货前已经过编译和测试,但我不明白为什么需要做广告。

不,Bootstrap 不能在浏览器中 运行 不使用 LESS 编译 CSS。