为什么 HTML5 样板需要 jQuery?它有什么作用?

Why does HTML5 Boilerplate need jQuery? What does it do?

我正在努力提高我的 CSS 技能。对于一个新的个人实践项目,我决定使用 HTML5 Boilerplate,而不是更大的前端框架。

我在项目网站和 GitHub 仓库中看到使用了 jQuery。 我不明白为什么使用 jQuery 以及它对这个项目有什么作用。

我想知道:

除了包含在项目中之外,它没有任何用处。

https://github.com/h5bp/html5-boilerplate/blob/master/src/doc/js.md

This file can be used to contain all your plugins, such as jQuery plugins and other 3rd party scripts for a simple site

"such as"。根本没用过。

由于它是一个样板,大多数人可能希望将它包含在他们的项目中。他们只是为你做了。