【发布时间】:2013-08-12 04:00:20
【问题描述】:
mrt 目前在 Mac https://github.com/oortcloud/meteorite/issues/172 上存在卷名中包含空格的错误。
在解决之前,我如何才能从大气中手动安装软件包?
【问题讨论】:
mrt 目前在 Mac https://github.com/oortcloud/meteorite/issues/172 上存在卷名中包含空格的错误。
在解决之前,我如何才能从大气中手动安装软件包?
【问题讨论】:
meteor 路由器也需要 HTML5-History-API
git clone --recursive https://github.com/tmeasday/meteor-HTML5-History-API.git
删除 meteor,文件夹应如下所示 HTML5-History-API
然后流星添加路由器
【讨论】:
您可以在您的项目中创建一个名为/packages 的目录,然后手动安装每个包及其依赖项。例如“流星路由器”
在/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+
正如 thatjuan 所指出的:一旦你这样做了,你只需要将主要的添加到你的项目中。您不必添加依赖项。
meteor add router
【讨论】: