'server' 文件夹中的子目录只能在服务器上访问吗?
are subdirectories in the 'server' folder only accessible on the server?
Meteor 文档说明
Meteor ensures that any file in any directory named server/ will only be available on the server
但是服务器文件夹中的子目录(及其对应的文件)呢?它们也只能通过服务器访问吗?例如...
server/
server.js
myfolder/
fileIOnlyWantToBeAccessibleByTheServer.js
anotherFileIOnlyWantToBeAccessibleByTheServer.js
client/
client.js
common/
common.js
服务器的子目录没有发送到客户端。来自这里:https://guide.meteor.com/structure.html#special-directories
Any directory named server/ is not loaded on the client.
认为它没有明确说明子目录,我认为它是从该声明中暗示的。另外,根据经验,我可以说没有发送子目录。
Meteor 文档说明
Meteor ensures that any file in any directory named server/ will only be available on the server
但是服务器文件夹中的子目录(及其对应的文件)呢?它们也只能通过服务器访问吗?例如...
server/
server.js
myfolder/
fileIOnlyWantToBeAccessibleByTheServer.js
anotherFileIOnlyWantToBeAccessibleByTheServer.js
client/
client.js
common/
common.js
服务器的子目录没有发送到客户端。来自这里:https://guide.meteor.com/structure.html#special-directories
Any directory named server/ is not loaded on the client.
认为它没有明确说明子目录,我认为它是从该声明中暗示的。另外,根据经验,我可以说没有发送子目录。