F
F
fregire2018-01-28 19:59:35
Web development
fregire, 2018-01-28 19:59:35

How should the project file structure look like?

Let's say my project consists of the following folders:
scripts/
styles/
img/
etc. + index.html. Did I do the right thing? Or was it necessary to put everything except index.html into the source(src) folder?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kulaeff, 2018-01-28
@fregire

Depends on what is used on the project. If it's just jQuery, then your structure is fine. If some kind of collector is used, such as webpack, then I would put everything in src, and the output would be added to where index.html is located.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question