Skip to content

Relative path setup notes

Tim Branyen edited this page Nov 13, 2013 · 11 revisions

This is taken from an issue that was filed.

Example: http://localhost/backbone-demo

For anyone with a local HTTP server (WAMP/XAMP/MAMP/LightHTTP/Apache etc) the demo won't work if you are running it in a sub-directory on the server. This really just has to do with Backbone's Routes and HTML's relative/absolute pathing. Here's how to fix it.

Configure the boilerplate to pull from the Filesystem.