How should I arrange my javascript files? [closed]
https://softwareengineering.stackexchange.com/questions/159864
-
04-11-2019 - |
Вопрос
I think this is best described using an image.
So it dawned on me that perhaps this isn't the best or most logical way to organise files.
The way it is currently, as you can see is just a dumping ground. The only reason complexify
has it's own folder is that it's a submodule in Git.
So should I be using a /lib
folder with jquery
& jqueryui
and perhaps a /plugins
with all the plugins in? Where would my files live?
Are there any accepted practises for file structure in this situation where you have a core library, a number of plugins and then some of your own code?
PS, I realised just now I have two copies of jQueryUI.
Нет правильного решения