AssistantRoutes.js 874 Bytes
import React, { Component, PropTypes } from 'react';
import { Router, Route, IndexRoute, Redirect } from 'react-router';
import asyncComponent from './AsyncComponent';
import CheckableTag from 'antd/lib/tag/CheckableTag';


const AssistantContainer = asyncComponent(
    () => import(/* webpackChunkName: "AssistantContainer" */'../containers/AssistantContainer')
);
const HomeContainer = asyncComponent(
    () => import(/* webpackChunkName: "home" */'../containers/home')
);
const NailApproval = asyncComponent(
    () => import(/* webpackChunkName: "employee" */'../containers/nailApproval/NailApproval')
);


export default (
    <div>
        <Route component={AssistantContainer} path='container'>
            <Route component={HomeContainer} path='home'></Route>
            <Route component={NailApproval} path='nail_approval'></Route>
        </Route>
    </div>
)