javascript - Separate client js for each module in ExpressJS -


i using modular folder structure shown here tjholowaychuk.

is somehow possible have separate client js in each of these modules? client js in /assets/js folder, nice have js file in module instead.

after playing around it, best solution me seems to put client js under lib/module/client/, , use path in script tag. way can have client js file each module.


Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -