{"size": 664, "ext": "js", "max_stars_repo_path": "step_03/src/js/routes.js", "max_stars_repo_name": "y19942026/reactStudy", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "step_03/src/js/routes.js", "max_issues_repo_name": "y19942026/reactStudy", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "step_03/src/js/routes.js", "max_forks_repo_name": "y19942026/reactStudy", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 31.619047619, "max_line_length": 98, "alphanum_fraction": 0.6430722892}
import React from 'react'
import { Route,IndexRoute } from 'react-router'

import { App,Home,Shop,ShopDetail,Coupon,CouponDetail,Tour,User,NotFoundPage } from './containers'

export default(
  <Route path="/" component={App}>
    <IndexRoute component={Home}/>
    <Route path="shop">
      <IndexRoute component={Shop} />
      <Route path=":id" component={ShopDetail} />
    </Route>
    <Route path="coupon">
      <IndexRoute component={Coupon} />
      <Route path=":id" component={CouponDetail} />
    </Route>
    <Route path="tour" component={Tour} />
    <Route path="user" component={User} />
    <Route path="*" component={NotFoundPage} />
  </Route>
);