r7ye1w
Last Updated: February 25, 2016
·
1.061K
· mutahhir
2034643609a3d51207127b00dfacce5f

How to structure your javascript projects

I know this is very arbitrary, but there was a time I tried to find the standard directory structure that's used for javascript heavy projects. Here's what I've found and like to use:

root/
   js/
     lib/
   css/
   fonts/
   images/
   index.html

What setup do you usually like to use?

Say Thanks
Respond

1 Response
Add your response

2980
Cd02928b9714479b681d1d24bb6360d7

When I use something different from JS and CSS and compile them into JS and CSS, I stick to something like this (but then again, it depends on the project):

root/
    src/
        coffee/
            index.coffee
        stylus/
            index.stylus
    public/
        js/
        css/
        img/
        index.html
over 1 year ago ·