gulp-este-bare
Version:
Gulp task to set an Este.js project to a bare state
15 lines (13 loc) • 388 B
JavaScript
import App from './app/App.react';
import Home from './home/Page.react';
import NotFound from './notfound/Page.react';
import React from 'react';
import {IndexRoute, Route} from 'react-router';
export default function createRoutes() {
return (
<Route component={App} path="/">
<IndexRoute component={Home} />
<Route component={NotFound} path="*" />
</Route>
);
}