import React from 'react';
import Router from 'react-router';
import { Route } from 'react-router';

import App from './components/app';
import Index from './components/index';
import Login from './components/login';
import Logout from './components/logout';

Router.run((
  <Route name="app" path="/" handler={App}>
    <Route name="index" handler={Index} />
    <Route name="login" handler={Login} />
    <Route name="logout" handler={Logout} />
  </Route>
), (Handler) => {
  React.render(<Handler />, document.body);
});

require('fastclick')(document.body);

@@ -63,16 +63,30 @@
 import %7B
+ DefaultRoute,
  Route %7D
@@ -325,24 +325,31 @@
 %7BApp%7D%3E%0A    %3C
+Default
 Route name=%22

Use DefaultRoute to prevent redirecting to `/#/index`