I am thinking about the best way to define a file structure for a web app using requirejs and backbone.
I have two ideas (1) (2).
According to you what is the best or what would you change?
(1)
|-- vendor
|-- js (jquery, underscore ....)
|-- images
|-- css
|-- spec
|-- templates
|-- js
| |-- utils
| |-- models
| |-- collections
| |-- views
| conf.js
| app.js
| router.js
|- index.html
(2)
|-- assets
|-- js (jquery, underscore ....)
|-- css
|-- images
|-- src
|-- templates
|-- js
|-- views
|-- models
|-- collections
|-- utils
conf.js
app.js
router.js
|-- spec
|-- index.html