twitter-bootstrap 流星的安装包在哪里?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/23409551/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Where are meteor's installed packages located?
提问by Azeirah
I installed twitter bootstrap using meteor add bootstrap. I want to look at the bootstrap css files, but I can't find them anywhere.
我使用meteor add bootstrap. 我想查看 bootstrap css 文件,但在任何地方都找不到它们。
I have looked in my application folder, and I've looked at many folders in the .meteor folder.
In app-name/.meteor/local/build/programs/server/packagesI came across bootstrap.min.js, but no bootstrap.min.css anywhere.
我查看了我的应用程序文件夹,并且查看了 .meteor 文件夹中的许多文件夹。在app-name/.meteor/local/build/programs/server/packages我遇到了 bootstrap.min.js,但在任何地方都没有 bootstrap.min.css。
There's nothing in my app-name/.meteor/local/build/programs/client/packagesfolder.
我的app-name/.meteor/local/build/programs/client/packages文件夹里什么都没有。
Does anybody know where the bootstrap css file(s) is located?
有人知道引导 css 文件的位置吗?
Edit: I looked in my generated html page, and found <link href="/c06ffbf557927aa81d97be1421cb5a36cd8fd88f.css" rel="stylesheet"></link>
编辑:我查看了我生成的 html 页面,发现 <link href="/c06ffbf557927aa81d97be1421cb5a36cd8fd88f.css" rel="stylesheet"></link>
I found that file in app-name/.meteor/local/build/programs/client/c06ffbf557927aa81d97be1421cb5a36cd8fd88f.css. It is bootstrap, but whyis it called that random string, and not bootstrap.css? Is this a bootstrap only problem, or do other packages have this too?
我在app-name/.meteor/local/build/programs/client/c06ffbf557927aa81d97be1421cb5a36cd8fd88f.css. 它是 bootstrap,但为什么它被称为随机字符串,而不是 bootstrap.css?这是引导程序唯一的问题,还是其他软件包也有这个问题?
回答by meawoppl
Typically they are in your home folder in the .meteor directory:
通常,它们位于 .meteor 目录中的主文件夹中:
/home/username/.meteor/packages.
If you are usining meteorite packages as well, they find their way to
如果您也使用陨石包,他们会找到方法
/home/username/.meteorite/packages.
They are symlinked into individual projects with the 'meteor add' action to avoid having to have a version of every package installed for every project you run.
它们通过“流星添加”操作符号链接到单个项目中,以避免必须为您运行的每个项目安装每个包的版本。
回答by Dmitry Efimenko
For Windows it's at
对于 Windows,它位于
C:\Users\[YourUser]\AppData\Local\.meteor\packages\
回答by Gene Parcellano
For mac users they are located in:
对于 mac 用户,它们位于:
User/.meteor/packages
Via Terminal:
通过终端:
cd ~/.meteor/packages
Via Finder, press CMD + Shift + G and enter:
通过 Finder,按 CMD + Shift + G 并输入:
~/.meteor/packages
I also wrote about it here: https://medium.com/@geneparcellano/where-are-meteor-js-packages-installed-f9e123e67f76#.8rgrd8nwj
我也在这里写过:https: //medium.com/@geneparcellano/where-are-meteor-js-packages-installed-f9e123e67f76#.8rgrd8nwj

