Search code examples
backbone.jsrequirejsamdyeoman

Howto bootstrap Backbone app with yeoman having require.js enabled


I'm playing with yeoman for a time now. I wonder how I accomplish bootstrapping a Backbone application and having require.js enabled at the same time.

yeoman init

provides me with a setup where I can work with modules in AMD style.

yeoman init backbone:all

provides me with a Backbone scaffold but I had to "include" all my models, collection etc. manually in index.html.

Is there a way to have both?

Regards Felix


Solution

  • There's already an open issue for this. Add your thoughts there :)