如何在没有“standard-app-packages”软件包的情况下进行自动更新?我尝试添加“autoupdate”包但没有成功。
standard-app-packages包似乎做了一些魔术,我不知道怎么做而不包括它。,
// These are useful too! But you don't have to see their exports
// unless you want to.
api.use([
// We can reload the client without messing up methods in flight.
'reload',
// And update automatically when new client code is available!
'autoupdate'
], ['client', 'server']);
答案 0 :(得分:0)
standard-app-packages实际上是以下所有包:
你可以删除它,但你必须添加你想要的部分:
standard-app-packages
所以你可以删除它并添加重新加载和自动更新,但是你也可能需要meteor
包!这更多地取决于你想要什么。