Create and using personnal custom lib


#1

Hi all,

After long research on the forum i’ve not found the answer to my following question :

What is the best practice to create a custom js lib and how to use it in the whole project ?

I mean that, when i work with some other cross-platform tools, i can create a “lib” directory (under app directory), create some custom libraries (like classes), then, i simply have import them in the main controller (app.js) or add the “require” in each controller which need to access the lib.

Thanks