index.js 498 Bytes
import React from 'react'
import Loadable from 'react-loadable'

function NoMatch() {
    return <div>
        Yoho Node.js 持续集成平台
    </div>
}

function Loading() {
    return <div>
        Loading
    </div>
}

const routes = [
    {
        exact: true,
        path: '/seo/hot-keyword',
        component: Loadable({
          loader: () => import('../pages/seo/HotKeywords'),
          loading: Loading
        })
    }, {
        component: NoMatch
    }
]

export default routes