如何安装没有陨石的大气包?

时间:2013-08-10 08:00:51

标签: meteor meteorite

mrt目前在Mac https://github.com/oortcloud/meteorite/issues/172上的卷名称中存在空格错误。

在修复之前,如何从大气中手动安装包?

2 个答案:

答案 0 :(得分:14)

您可以在项目中创建一个名为/packages的目录。然后手动安装每个包及其依赖项。例如'meteor router'

/packages

中的

git clone https://github.com/tmeasday/meteor-router.git
mv meteor-router router

git clone --recursive https://github.com/tmeasday/meteor-page-js-ie-support.git
mv meteor-page-js-ie-support page-js-ie-support

第二个是对流星路由器的依赖,你可以在包的atmosphere page上看到。它是递归的,以确保子模块pages-js也是git克隆的。

流星0.65 +

正如thejuan所指出的:一旦你这样做,你只需要将主要的一个添加到你的项目中。您不必添加依赖项。

meteor add router

答案 1 :(得分:0)

流星路由器还需要HTML5-History-API

git clone --recursive https://github.com/tmeasday/meteor-HTML5-History-API.git

删除 meteor ,该文件夹应如下所示 HTML5-History-API

然后 meteor add router