问题
I'm trying marionette.js for my backbone application but I'm a bit baffled as to how I should organize my layouts/regions and render them.
I'm looking for an example application with nested layouts and regions so I could understand a bit better. Any advice ?
回答1:
Check out this fiddles:
http://jsfiddle.net/tegon/0g2aaLxe/1/
http://jsfiddle.net/tegon/64ovLf64/
for general backbone marionette boilerplate starting point check this:
https://stackoverflow.com/questions/11410059/suggested-bootstrap-boilerplate-sample-for-backbone-marionette-application/11598371#11598371
来源:https://stackoverflow.com/questions/15154442/example-of-marionette-js-layout-region-structure-and-rendering-method