【发布时间】:2013-12-07 15:39:19
【问题描述】:
Bootstrap 已加载到我的项目中,根据运行meteor add bootstrap 命令后出现在我的 .html 文件中的以下内容来判断。
<head>
<link rel="stylesheet" href="/packages/bootstrap/css/bootstrap.css?e5976308949024b827360231c67b6f50ee1cf8c5">
<link rel="stylesheet" href="/packages/bootstrap/css/bootstrap-responsive.css?b66c9c5bfb9556bf343298e3fe6e49c39db8c222">
<link rel="stylesheet" href="/packages/bootstrap/css/bootstrap-override.css?15fa5b55da5c16ed92ffe0c85c0d6aa0867b9c7f">
<link rel="stylesheet" href="/music.css?2b2e8ef7fc8414f9b064e2d1faf7be37f8e97a97">
但是,packages 下没有 bootstrap 目录,在我的项目目录中找不到任何对 Bootstrap 的引用(除了构建的文件?),如下find 命令的结果所示目录中的所有 css 文件。
music-meteor-master/music.css
music-meteor-master/.meteor/local/build/programs/client/packages/bootstrap/css/bootstrap.css
music-meteor-master/.meteor/local/build/programs/client/packages/bootstrap/css/bootstrap-override.css
music-meteor-master/.meteor/local/build/programs/client/packages/bootstrap/css/bootstrap-responsive.css
music-meteor-master/.meteor/local/build/programs/client/app/music.css
我做错了吗?如何在 Meteor 上使用 Bootstrap?
【问题讨论】: