How to install atmosphere packages without meteorite?

£可爱£侵袭症+ 提交于 2019-11-29 04:06:53

You can create a directory called /packages in your project & then manually install each package and its dependencies. e.g for 'meteor router'

in /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

The second is a dependency on meteor router which you can see on the package's atmosphere page. It's recursive to make sure the submodule pages-js is also git cloned in.

Meteor 0.65+

As pointed out by thatjuan: Once you do this, you just need to add the main one to your project. You don't have to add the dependencies.

meteor add router

meteor router also needs HTML5-History-API

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

remove meteor and the folder should look like this HTML5-History-API

then meteor add router

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!