jashkenas / backbone

Give your JS App some Backbone with Models, Views, Collections, and Events
http://backbonejs.org
MIT License
28.09k stars 5.39k forks source link

How could I manage all the template files? #3179

Closed hwoarangzk closed 10 years ago

hwoarangzk commented 10 years ago
Could I put the templates in different folders for maintainance and is there any build tool like grunt which can compress all the template files into one? If I put all the template script tags in index.html, it'll be a mess! Thank you~ :)
braddunbar commented 10 years ago

Hi @hwoarangzk! There are certainly tools for combining your templates and scripts. With _.template it's fairly easy to do from a node environment.

That said, this sort of question is probably better suited for Stack Overflow or the irc channel (#documentcloud on freenode). Github issues are only for questions regarding development of Backbone itself.

hwoarangzk commented 10 years ago

Sorry for putting question here, but due to the network policy, I can't sign up on stack overflow, sorry :(