reactatouille
Version:
Reactatouille is a command-line tool to help quickly start and build a new React project, using Redux, Webpack, Gulp (You can add your own tasks, yo!), HMR/Hot Module Reload, Sass (architecture best practices), Jest, Enzyme, popmotion, Redux devtools (bro
22 lines (19 loc) • 385 B
JavaScript
import main from 'modules/main'
import about from 'modules/about'
const rootRoutes = [
{
path: '/',
component: main.containers.App,
exact: true,
routes: [{
path: '/',
component: about.containers.HomePanel,
exact: true
}, {
path: '/about',
component: about.containers.About,
exact: true
}]
}
]
export default rootRoutes