egidra
egidra

Reputation: 9087

Backbone boilerplate - how to change template directory?

When I specify a template for a View in my Module, the URL that gets formed is: /app/templates/template.html. I have all of the boilerplate code inside of a static folder, so I need the URL to look like /static/app/templates/template.html. How can I change the configuration to do this?

Upvotes: 0

Views: 165

Answers (1)

timDunham
timDunham

Reputation: 3318

Not sure if this is right but I know Backbone-boilerplate uses require.js so I'd suggest putting

baseUrl: 'static'

in your config.js file

Upvotes: 1

Related Questions