构建应用程序时,您需要了解的第一件事是,Meteor工具具有一些使用特定逻辑进行硬编码的目录。在非常基本的级别上,以下目录被“烘焙”到Meteor捆绑程序中。
client/ # client application code client/compatibility/ # legacy 3rd party javascript libraries imports/ # for lazy loading feature lib/ # any common code for client/server. packages/ # place for all your atmosphere packages private/ # static files that only the server knows about public/ # static files that are available to the client server/ # server code tests/ # unit test files (won't be loaded on client or server)
参考页面:《流星指南》>“特殊目录”