import { Route, IndexRedirect } from 'react-router';

import './style/index';
import stores from './stores/index.js';

import Index from './components/check/Index';

// const getLocaleLabel = WeaLocaleProvider.getLocaleLabel.bind(this, 'SYSTEM_ENGINE');

const APIdoc = (
  <Route name="apidoc" breadcrumbName="API文档" path="/" component={Index}>
  	{/* <IndexRedirect to="index"></IndexRedirect>
    <Route path="index" breadcrumbName="首页" component={Index} /> */}
  </Route>
);

module.exports = {
  Route: APIdoc,
  stores,
};
