如何修改已安装的Atmosphere软件包 [英] How to modify already installed Atmosphere packages
问题描述
在0.9.0流星之前,我可以在安装大气包文件后对其进行编辑.现在,模板已预编译并隐藏在流星核心中,因此我无法编辑html(模板).
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).
我找到了修改程序包的唯一方法.从GitHub加载它,对其进行修改,然后将其作为应用程序特定的包添加到/packages目录中.然后,我可以不断修改该程序包.
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 ?
谢谢.
推荐答案
您是正确的,例如,使用mrt:accounts-t9n软件包,我已经按照以下步骤操作了
you are right, for example with this package mrt:accounts-t9n, I have following this steps
1- cd yourproject&& mkdir包&& cd软件包
2- git clone https://github.com/softwarerero/meteor-accounts-t9n.git
3- cd 流星帐户t9n
4-编辑package.js并将第4行更改为名称: "mrt:accounts-t9n"
5- cd ..&&流星添加mrt:accounts-t9n
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.
这篇关于如何修改已安装的Atmosphere软件包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!