Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Twitter bootstrap 将Twitter引导资产克隆到应用程序目录_Twitter Bootstrap - Fatal编程技术网

Twitter bootstrap 将Twitter引导资产克隆到应用程序目录

Twitter bootstrap 将Twitter引导资产克隆到应用程序目录,twitter-bootstrap,Twitter Bootstrap,我正在努力解决这个问题 它提供了一些复制Twitter引导程序的说明 $ git clone https://github.com/twitter/bootstrap.git 然后,按照指示,我做了 $ cp bootstrap/bootstrap.css path/to/app/assets/stylesheets/. 但计算机做出了回应 cp: bootstrap/bootstrap.css: No such file or directory 我在“bootstrap”目录中看到了这

我正在努力解决这个问题

它提供了一些复制Twitter引导程序的说明

$ git clone https://github.com/twitter/bootstrap.git
然后,按照指示,我做了

$ cp bootstrap/bootstrap.css path/to/app/assets/stylesheets/.
但计算机做出了回应

cp: bootstrap/bootstrap.css: No such file or directory
我在“bootstrap”目录中看到了这个

LICENSE
Makefile
README.md
docs
img
js
less
package.json
我应该做什么而不是

 $ cp bootstrap/bootstrap.css path/to/app/assets/stylesheets/.

编写您正在使用的教程时,Twitter引导程序位于,GitHub项目过去包含项目的编译版本,其中包括您期望的Bootstrap.css文件

自引入以来,存储库不再包含项目的编译版本,因此在您自己编译之前,不会包含bootstrap.css。您应该遵循自述文件中提供的说明或网站上的说明

您至少需要NodeJSless软件包

如果使用make文件,则还需要节点包jshintrecessuglify js



您的另一个选择是,不使用源代码。

编写您正在使用的教程时,Twitter引导程序位于,GitHub项目用于包含项目的编译版本,其中包括您期望的Bootstrap.css文件

自引入以来,存储库不再包含项目的编译版本,因此在您自己编译之前,不会包含bootstrap.css。您应该遵循自述文件中提供的说明或网站上的说明

您至少需要NodeJSless软件包

如果使用make文件,则还需要节点包jshintrecessuglify js



您的另一个选择是只查找,而不是源代码。

您是否遍历了目录结构以查找名为bootstrap.css的文件?你能提供原始说明的链接吗?我在Twitter Bootstrap BasicsDid的第一或第二部分中得到了说明。您是否遍历目录结构以查找名为Bootstrap.css的文件?你能提供原始说明的链接吗?我在Twitter引导程序basictstanks的第一节或第二节中得到了说明,我不知道如何编译。我以前从未做过。谢谢,我不知道编译。我以前从未做过。