How to modify already installed Atmosphere packages

吃可爱长大的小学妹 提交于 2019-11-27 16:44:28

问题


Before meteor 0.9.0 I could edit Atmosphere package files after it has been installed. Now templates are pre-compiled and hidden in meteor core, so I can't edit html(templates).

I found only way to have modified package. Load it from GitHub, modify it and then add as app-specific packages to the /packages directory. Then I can continuously modify this package.

Does anyone know better way ?

Thank you.


回答1:


you are right, for example with this package mrt:accounts-t9n, I have following this steps

1- cd yourproject && mkdir packages && cd packages
2- git clone https://github.com/softwarerero/meteor-accounts-t9n.git
3- cd meteor-accounts-t9n
4- edit package.js and change line 4 to name: "mrt:accounts-t9n"
5- cd .. && meteor add mrt:accounts-t9n

for this moment is the solution, I don't find another.



来源:https://stackoverflow.com/questions/25772226/how-to-modify-already-installed-atmosphere-packages

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