gpt4 book ai didi

meteor - 如何修改已安装的大气包

转载 作者:行者123 更新时间:2023-12-04 14:00:04 26 4
gpt4 key购买 nike

在meteor 0.9.0 之前,我可以在安装后编辑Atmosphere 包文件。现在模板被预编译并隐藏在 meteor 核心中,所以我无法编辑 html(templates)。

我找到了修改包的唯一方法。从 GitHub 加载它,对其进行修改,然后将其作为特定于应用程序的包添加到/packages 目录中。然后我可以不断修改这个包。

有人知道更好的方法吗?

谢谢你。

最佳答案

你是对的,例如使用这个包 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



此刻是解决方案,我没有找到另一个。

关于meteor - 如何修改已安装的大气包,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25772226/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com