pushStateRoot not working on Kitchen Sink App

To reproduce the error, put this in the kitchen sink’s app.js init:

view: {
	  pushState: true, 
	  pushStateSeparator: '',
	  pushStateRoot: '/kitchen-sink',

Where /kitchen-sink is the root folder of the kitchen-sink app.

Then navigate to the “Tabs” example and click on any of the links (Static, Animated, Swipeable, Routable). You will notice that it does not load the components. When I examined the console, I notice it’s trying to load:


instead of:


You need to change url and componentUrl in routes to absolute path as well