Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
461 views
in Technique[技术] by (71.8m points)

meteor - How to modify already installed Atmosphere packages

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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...