Can't get Backbone routes without hashes?
问题 I want to have bookmarkable URLs that the browser can capture and handle. If I just use Backbone.history.start() , then I can use hash URLs, like /#accounts . But I want URLs without the hashes, a la /accounts . But I can't get this to work using Backbone.history.start( { pushState: true } ) (as others have described it). My routes are straightforward, and taken directly from the documentation. MyRouter = Backbone.Router.extend({ routes: { '/accounts': 'accounts', } }); I'm using Chrome (also