Meteor : Access to my public/lib from server -
according meteor doc, public fodler accessible both server , client. but, if need use html head elements access it, how can server ?
i made lib specific functions, , i'm tired of copy pasting them @ top of each of server .js file.
could give me tip ? couldn't find out on google :/
thanks you,
david
you making life harder necessary. any folder not called client
, server
, private
, or public
shared client , server. put shared .js
files folder, say, /common
, , available (loaded) on both client , server.
the public
folder assets not loaded automatically server, instead served statically on http, similar static functionality of express. it's place images , other assets want on client.
Comments
Post a Comment