Closed scharf closed 6 years ago
If you're using server side rendering you may wish to have UI code on both server and client.
@hexsprite nailed it - if you know your UI related code will be client only though, you can definitely put it in imports/client
if you prefer. Thanks!
I followed the structure in this example with my typescript code. It turns out, that typescript complains about the usage of
window
anddocument
in code that is in theimports/ui
directory (see issue 54 onmeteor-typescript/meteor-typescript-compiler
).I think the structure should suggest to put all UI related code into
imports/client
, or am I missing something here?